mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 16:07:40 +00:00
Merge branch 'upstream2' of https://github.com/Edward850/zdoom
This commit is contained in:
commit
90ac160b70
1 changed files with 2 additions and 2 deletions
|
@ -1143,7 +1143,7 @@ AWeapon *FWeaponSlots::PickNextWeapon(player_t *player)
|
||||||
return weap;
|
return weap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while ((slot != startslot || index != startindex) && slotschecked < NUM_WEAPON_SLOTS);
|
while ((slot != startslot || index != startindex) && slotschecked <= NUM_WEAPON_SLOTS);
|
||||||
}
|
}
|
||||||
return player->ReadyWeapon;
|
return player->ReadyWeapon;
|
||||||
}
|
}
|
||||||
|
@ -1198,7 +1198,7 @@ AWeapon *FWeaponSlots::PickPrevWeapon (player_t *player)
|
||||||
return weap;
|
return weap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while ((slot != startslot || index != startindex) && slotschecked < NUM_WEAPON_SLOTS);
|
while ((slot != startslot || index != startindex) && slotschecked <= NUM_WEAPON_SLOTS);
|
||||||
}
|
}
|
||||||
return player->ReadyWeapon;
|
return player->ReadyWeapon;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue