mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add thing type number & binary conversion to symbol signs
This commit is contained in:
parent
64511e82c2
commit
4ad383721d
2 changed files with 9 additions and 1 deletions
|
|
@ -26291,7 +26291,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
||||||
},
|
},
|
||||||
|
|
||||||
{ // MT_SYMBOL
|
{ // MT_SYMBOL
|
||||||
-1, // doomednum
|
4095, // doomednum
|
||||||
S_SYMBOL_0, // spawnstate
|
S_SYMBOL_0, // spawnstate
|
||||||
1000, // spawnhealth
|
1000, // spawnhealth
|
||||||
S_NULL, // seestate
|
S_NULL, // seestate
|
||||||
|
|
|
||||||
|
|
@ -7202,6 +7202,14 @@ static void P_ConvertBinaryThingTypes(void)
|
||||||
case CEILING_SLOPE_THING:
|
case CEILING_SLOPE_THING:
|
||||||
mapthings[i].args[0] = mapthings[i].extrainfo;
|
mapthings[i].args[0] = mapthings[i].extrainfo;
|
||||||
break;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue