mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
fix "Select Random Weapons" mp menu, optionindex
This commit is contained in:
1 parent
5cd436e848
commit
c0aa42759c
1 file changed
+1
-1
@@ -1187,7 +1187,7 @@ void mpSetRandomWeapons(u8 weapons[])
|
||||
}
|
||||
|
||||
if (index == 0) {
|
||||
weapons[0] = MPWEAPON_NONE;
|
||||
weapons[0] = 0; // optionindex (shifted by unlocked weapons, but usually 0 is "Nothing")
|
||||
g_MpWeaponRandomFilterNum = 1;
|
||||
} else {
|
||||
g_MpWeaponRandomFilterNum = index;
|
||||
|
||||
Reference in new issue
Block a user