This commit is contained in:
Tatsuru 2019-12-31 01:48:50 -03:00
parent 2d0cdbe34f
commit b68a629a71

View file

@ -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);