Disable stacking thunder shields

This commit is contained in:
fickleheart 2019-03-09 17:28:05 -06:00
parent 84631b1393
commit 814c48805c
1 changed files with 3 additions and 0 deletions

View File

@ -141,6 +141,9 @@ boolean P_CanPickupItem(player_t *player, UINT8 weapon)
|| (weapon != 3 && player->kartstuff[k_itemamount])
|| player->kartstuff[k_itemheld])
return false;
if (weapon == 3 && player->kartstuff[k_itemtype] = KITEM_THUNDERSHIELD)
return false; // No stacking thunder shields!
}
}