mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- Exhumed: Move pistol clip/magazine recalculation code that was added in 593bbe10ef
from FillWeapons()
to CheckClip()
.
This commit is contained in:
parent
052429f350
commit
6940384625
1 changed files with 3 additions and 3 deletions
|
@ -103,9 +103,6 @@ void FillWeapons(short nPlayer)
|
|||
}
|
||||
}
|
||||
|
||||
// Reset pistol's clip amount.
|
||||
nPistolClip[nPlayer] = PlayerList[nPlayer].nAmmo[kWeaponPistol] % 6;
|
||||
|
||||
CheckClip(nPlayer);
|
||||
}
|
||||
|
||||
|
@ -317,6 +314,9 @@ void CheckClip(short nPlayer)
|
|||
nPlayerClip[nPlayer] = 100;
|
||||
}
|
||||
}
|
||||
|
||||
// Reset pistol's clip amount.
|
||||
nPistolClip[nPlayer] = PlayerList[nPlayer].nAmmo[kWeaponPistol] % 6;
|
||||
}
|
||||
|
||||
void MoveWeapons(short nPlayer)
|
||||
|
|
Loading…
Reference in a new issue