mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't move backup item into main slot if player has item deployed
This commit is contained in:
parent
2270813eee
commit
90ec96a2b0
1 changed files with 1 additions and 1 deletions
|
|
@ -9171,7 +9171,7 @@ static void K_MoveHeldObjects(player_t *player)
|
|||
// If we can move our backup item into main slots, do so.
|
||||
static void K_TryMoveBackupItem(player_t *player)
|
||||
{
|
||||
if (player->itemtype && player->itemtype == player->backupitemtype)
|
||||
if (player->itemtype && player->itemtype == player->backupitemtype && !(player->itemflags & IF_ITEMOUT))
|
||||
{
|
||||
player->itemamount += player->backupitemamount;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue