This commit is contained in:
TehRealSalt 2018-03-30 00:53:32 -04:00
parent e974b6e4b7
commit a10a068f15
1 changed files with 2 additions and 0 deletions

View File

@ -1682,6 +1682,7 @@ static boolean PIT_CheckThing(mobj_t *thing)
return true; return true;
} }
else if (thing->player->kartstuff[k_comebackmode] == 1 else if (thing->player->kartstuff[k_comebackmode] == 1
&& (tmthing->player->kartstuff[k_balloon] > 0 && P_CanPickupItem(tmthing->player, true)))
{ {
thing->player->kartstuff[k_comebackmode] = 0; thing->player->kartstuff[k_comebackmode] = 0;
thing->player->kartstuff[k_comebackpoints]++; thing->player->kartstuff[k_comebackpoints]++;
@ -1694,6 +1695,7 @@ static boolean PIT_CheckThing(mobj_t *thing)
return true; return true;
} }
else if (tmthing->player->kartstuff[k_comebackmode] == 1 else if (tmthing->player->kartstuff[k_comebackmode] == 1
&& (thing->player->kartstuff[k_balloon] > 0 && P_CanPickupItem(thing->player, true)))
{ {
tmthing->player->kartstuff[k_comebackmode] = 0; tmthing->player->kartstuff[k_comebackmode] = 0;
tmthing->player->kartstuff[k_comebackpoints]++; tmthing->player->kartstuff[k_comebackpoints]++;