Add thing type number & binary conversion to symbol signs

This commit is contained in:
Lach 2023-07-11 21:04:06 +10:00
parent 64511e82c2
commit 4ad383721d
2 changed files with 9 additions and 1 deletions

View file

@ -26291,7 +26291,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
},
{ // MT_SYMBOL
-1, // doomednum
4095, // doomednum
S_SYMBOL_0, // spawnstate
1000, // spawnhealth
S_NULL, // seestate

View file

@ -7202,6 +7202,14 @@ static void P_ConvertBinaryThingTypes(void)
case CEILING_SLOPE_THING:
mapthings[i].args[0] = mapthings[i].extrainfo;
break;
case 4095: // MT_SYMBOL
mapthings[i].args[0] = mapthings[i].extrainfo;
if (mapthings[i].options & MTF_OBJECTSPECIAL)
{
// Special = add 16 to the symbol type
mapthings[i].args[0] += 16;
}
break;
default:
break;
}