MT_BATTLEUFO_SPAWNER: spawn with thing number 3786

Binary maps: angle becomes args[0] (ID for spawning order)
This commit is contained in:
James R 2023-06-27 18:06:45 -07:00
parent f5d68783fc
commit d3d6d4d671
2 changed files with 4 additions and 1 deletions

View file

@ -29908,7 +29908,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
},
{ // MT_BATTLEUFO_SPAWNER
-1, // doomednum
3786, // doomednum
S_INVISIBLE, // spawnstate
1000, // spawnhealth
S_NULL, // seestate

View file

@ -7145,6 +7145,9 @@ static void P_ConvertBinaryThingTypes(void)
case 2018: // MT_PETSMOKER
mapthings[i].args[0] = !!(mapthings[i].options & MTF_OBJECTSPECIAL);
break;
case 3786: // MT_BATTLEUFO_SPAWNER
mapthings[i].args[0] = mapthings[i].angle;
break;
case FLOOR_SLOPE_THING:
case CEILING_SLOPE_THING:
mapthings[i].args[0] = mapthings[i].extrainfo;