mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
itemflag tyop
This commit is contained in:
parent
0b51bc91f9
commit
81e7ec6aa3
1 changed files with 1 additions and 1 deletions
|
|
@ -11518,7 +11518,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
if (player->ballhogcharge == 0)
|
||||
player->ballhogtap = false;
|
||||
|
||||
boolean realcharge = (cmd->buttons & BT_ATTACK) && (player->itemflags & IT_HOLDREADY) && (player->ballhogcharge < ballhogmax);
|
||||
boolean realcharge = (cmd->buttons & BT_ATTACK) && (player->itemflags & IF_HOLDREADY) && (player->ballhogcharge < ballhogmax);
|
||||
if ((realcharge && !player->ballhogtap) || (player->ballhogtap && player->ballhogcharge < BALLHOGINCREMENT))
|
||||
{
|
||||
player->ballhogcharge++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue