0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2025-02-17 17:41:57 +00:00

Appease the C90 entity

This commit is contained in:
Tatsuru 2019-12-31 01:20:11 -03:00
parent 47b096a357
commit 2d0cdbe34f

View file

@ -1813,7 +1813,8 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
return; return;
if (player->powers[pw_carry] == CR_MINECART) if (player->powers[pw_carry] == CR_MINECART)
return; return;
else
{
mobj_t *mcart = P_SpawnMobj(special->x, special->y, special->z, MT_MINECART); mobj_t *mcart = P_SpawnMobj(special->x, special->y, special->z, MT_MINECART);
P_SetTarget(&mcart->target, toucher); P_SetTarget(&mcart->target, toucher);
mcart->angle = toucher->angle = player->drawangle = special->angle; mcart->angle = toucher->angle = player->drawangle = special->angle;
@ -1828,6 +1829,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
special->fuse = 3*TICRATE; special->fuse = 3*TICRATE;
special->flags2 |= MF2_DONTDRAW; special->flags2 |= MF2_DONTDRAW;
}
return; return;
case MT_MINECARTEND: case MT_MINECARTEND: