mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-21 14:12:31 +00:00
Small
This commit is contained in:
parent
15d4829e19
commit
50ffcba552
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…
Add table
Reference in a new issue