HLWeaponSelect: deprecate use of .IsWeapon method

This commit is contained in:
Marco Cawthorne 2025-02-22 01:30:38 -08:00
parent fcc78e5ad3
commit b0b370c9e1

View file

@ -68,7 +68,7 @@ HLWeaponSelect::Draw(void)
/* iterate through the inventory*/ /* iterate through the inventory*/
while (linkedList) { while (linkedList) {
/* only iterate over weapons */ /* only iterate over weapons */
if (linkedList.IsWeapon() == true) { if (isWeapon(linkedList) == true) {
currentSlot = linkedList. m_iHudSlot; currentSlot = linkedList. m_iHudSlot;
/* new slot started, reset Y axis */ /* new slot started, reset Y axis */