mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Fix random five scenario using classic weapons for last slot
This commit is contained in:
1 parent
892d50ba7c
commit
7e8c57ee4d
1 file changed
+4
@@ -1154,7 +1154,11 @@ void mpApplyWeaponSet(void)
|
||||
mpSetWeaponSlot(i, random() % numoptions + 1);
|
||||
}
|
||||
|
||||
#ifndef PLATFORM_N64 // take into account the new classic weapons slots
|
||||
mpSetWeaponSlot(i, MPWEAPON_DISABLED - 1);
|
||||
#else
|
||||
mpSetWeaponSlot(i, mpGetNumWeaponOptions() - 1);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user