mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Disable stacking thunder shields
This commit is contained in:
parent
84631b1393
commit
814c48805c
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,9 @@ boolean P_CanPickupItem(player_t *player, UINT8 weapon)
|
||||||
|| (weapon != 3 && player->kartstuff[k_itemamount])
|
|| (weapon != 3 && player->kartstuff[k_itemamount])
|
||||||
|| player->kartstuff[k_itemheld])
|
|| player->kartstuff[k_itemheld])
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (weapon == 3 && player->kartstuff[k_itemtype] = KITEM_THUNDERSHIELD)
|
||||||
|
return false; // No stacking thunder shields!
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue