itemflag tyop

This commit is contained in:
AJ Martinez 2023-11-09 17:30:19 -07:00
parent 0b51bc91f9
commit 81e7ec6aa3

View file

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