mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Small
This commit is contained in:
parent
2d0cdbe34f
commit
b68a629a71
1 changed files with 1 additions and 7 deletions
|
@ -1807,13 +1807,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
|||
return;
|
||||
|
||||
case MT_MINECARTSPAWNER:
|
||||
if (player->bot)
|
||||
return;
|
||||
if (special->fuse > TICRATE)
|
||||
return;
|
||||
if (player->powers[pw_carry] == CR_MINECART)
|
||||
return;
|
||||
else
|
||||
if (!player->bot && special->fuse <= TICRATE && player->powers[pw_carry] != CR_MINECART)
|
||||
{
|
||||
mobj_t *mcart = P_SpawnMobj(special->x, special->y, special->z, MT_MINECART);
|
||||
P_SetTarget(&mcart->target, toucher);
|
||||
|
|
Loading…
Reference in a new issue