mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +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;
|
return;
|
||||||
|
|
||||||
case MT_MINECARTSPAWNER:
|
case MT_MINECARTSPAWNER:
|
||||||
if (player->bot)
|
if (!player->bot && special->fuse <= TICRATE && player->powers[pw_carry] != CR_MINECART)
|
||||||
return;
|
|
||||||
if (special->fuse > TICRATE)
|
|
||||||
return;
|
|
||||||
if (player->powers[pw_carry] == CR_MINECART)
|
|
||||||
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);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue