Return random items to old doomednum

This commit is contained in:
Sally Coolatta 2023-04-29 17:52:19 -04:00
parent d9d561ee28
commit 20d0f2d3fb
3 changed files with 2 additions and 11 deletions

View file

@ -22331,7 +22331,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
// SRB2kart MT's
{ // MT_RANDOMITEM
2011, // doomednum
2000, // doomednum
S_RANDOMITEM1, // spawnstate
1000, // spawnhealth
S_NULL, // seestate

View file

@ -122,6 +122,7 @@ void Obj_AudienceThink(mobj_t * mobj, boolean focusonplayer);
void Obj_RandomItemVisuals(mobj_t *mobj);
boolean Obj_RandomItemSpawnIn(mobj_t *mobj);
fixed_t Obj_RandomItemScale(fixed_t oldScale);
void Obj_RandomItemSpawn(mobj_t *mobj);
#ifdef __cplusplus
} // extern "C"

View file

@ -12128,16 +12128,6 @@ static boolean P_SpawnNonMobjMapThing(mapthing_t *mthing)
static boolean P_AllowMobjSpawn(mapthing_t* mthing, mobjtype_t i)
{
//(void)mthing;
if (mthing->type == 2000)
{
// TEMP: old item spot ID, while we're testing big items.
// Return MT_RANDOMITEM from 2011 to 2000 later,
// and then remove this when we're done.
return false;
}
switch (i)
{
case MT_ITEMCAPSULE: