HLWeaponSelect: deprecate use of .IsWeapon method
This commit is contained in:
parent
fcc78e5ad3
commit
b0b370c9e1
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ HLWeaponSelect::Draw(void)
|
|||
/* iterate through the inventory*/
|
||||
while (linkedList) {
|
||||
/* only iterate over weapons */
|
||||
if (linkedList.IsWeapon() == true) {
|
||||
if (isWeapon(linkedList) == true) {
|
||||
currentSlot = linkedList. m_iHudSlot;
|
||||
|
||||
/* new slot started, reset Y axis */
|
||||
|
|
Loading…
Reference in a new issue