mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed bad loop handling in FWeaponSlots::SetFromGameInfo().
This commit is contained in:
parent
d1f17e0b46
commit
b9c72e372b
1 changed files with 1 additions and 1 deletions
|
@ -1297,7 +1297,7 @@ void FWeaponSlots::SetFromGameInfo()
|
|||
// Append extra weapons to the slots.
|
||||
for (i = 0; i < NUM_WEAPON_SLOTS; ++i)
|
||||
{
|
||||
for (unsigned j = 0; j < gameinfo.DefaultWeaponSlots[i].Size(); i++)
|
||||
for (unsigned j = 0; j < gameinfo.DefaultWeaponSlots[i].Size(); j++)
|
||||
{
|
||||
PClassWeapon *cls = dyn_cast<PClassWeapon>(PClass::FindClass(gameinfo.DefaultWeaponSlots[i][j]));
|
||||
if (cls == NULL)
|
||||
|
|
Loading…
Reference in a new issue