mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Update info.h
Also add a case for MT_BRICKDEBRIS to P_MobjThinker
This commit is contained in:
parent
c7527ad58b
commit
5dc55712e1
2 changed files with 4 additions and 0 deletions
|
|
@ -4663,6 +4663,9 @@ typedef enum mobj_type
|
||||||
MT_ROCKCRUMBLE15,
|
MT_ROCKCRUMBLE15,
|
||||||
MT_ROCKCRUMBLE16,
|
MT_ROCKCRUMBLE16,
|
||||||
|
|
||||||
|
// Bricks
|
||||||
|
MT_BRICKDEBRIS,
|
||||||
|
|
||||||
#ifdef SEENAMES
|
#ifdef SEENAMES
|
||||||
MT_NAMECHECK,
|
MT_NAMECHECK,
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -7309,6 +7309,7 @@ void P_MobjThinker(mobj_t *mobj)
|
||||||
case MT_ROCKCRUMBLE15:
|
case MT_ROCKCRUMBLE15:
|
||||||
case MT_ROCKCRUMBLE16:
|
case MT_ROCKCRUMBLE16:
|
||||||
case MT_WOODDEBRIS:
|
case MT_WOODDEBRIS:
|
||||||
|
case MT_BRICKDEBRIS:
|
||||||
if (mobj->z <= P_FloorzAtPos(mobj->x, mobj->y, mobj->z, mobj->height)
|
if (mobj->z <= P_FloorzAtPos(mobj->x, mobj->y, mobj->z, mobj->height)
|
||||||
&& mobj->state != &states[mobj->info->deathstate])
|
&& mobj->state != &states[mobj->info->deathstate])
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue