mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Fix weapon pickup sound
This commit is contained in:
parent
cd6bbd96a7
commit
2f1a53e5c4
1 changed files with 12 additions and 0 deletions
|
@ -2317,6 +2317,8 @@ do_default_b:
|
||||||
nPlayerWeapons[nPlayer] |= var_18;
|
nPlayerWeapons[nPlayer] |= var_18;
|
||||||
|
|
||||||
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
||||||
|
|
||||||
|
var_88 = StaticSound[kSound72];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var_40 == 2) {
|
if (var_40 == 2) {
|
||||||
|
@ -2377,6 +2379,8 @@ do_default_b:
|
||||||
nPlayerWeapons[nPlayer] |= var_18;
|
nPlayerWeapons[nPlayer] |= var_18;
|
||||||
|
|
||||||
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
||||||
|
|
||||||
|
var_88 = StaticSound[kSound72];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var_40 == 2) {
|
if (var_40 == 2) {
|
||||||
|
@ -2437,6 +2441,8 @@ do_default_b:
|
||||||
nPlayerWeapons[nPlayer] |= var_18;
|
nPlayerWeapons[nPlayer] |= var_18;
|
||||||
|
|
||||||
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
||||||
|
|
||||||
|
var_88 = StaticSound[kSound72];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var_40 == 2) {
|
if (var_40 == 2) {
|
||||||
|
@ -2497,6 +2503,8 @@ do_default_b:
|
||||||
nPlayerWeapons[nPlayer] |= var_18;
|
nPlayerWeapons[nPlayer] |= var_18;
|
||||||
|
|
||||||
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
||||||
|
|
||||||
|
var_88 = StaticSound[kSound72];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var_40 == 2) {
|
if (var_40 == 2) {
|
||||||
|
@ -2557,6 +2565,8 @@ do_default_b:
|
||||||
nPlayerWeapons[nPlayer] |= var_18;
|
nPlayerWeapons[nPlayer] |= var_18;
|
||||||
|
|
||||||
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
||||||
|
|
||||||
|
var_88 = StaticSound[kSound72];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var_40 == 2) {
|
if (var_40 == 2) {
|
||||||
|
@ -2617,6 +2627,8 @@ do_default_b:
|
||||||
nPlayerWeapons[nPlayer] |= var_18;
|
nPlayerWeapons[nPlayer] |= var_18;
|
||||||
|
|
||||||
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
AddAmmo(nPlayer, WeaponInfo[weapons].nAmmoType, ebx);
|
||||||
|
|
||||||
|
var_88 = StaticSound[kSound72];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var_40 == 2) {
|
if (var_40 == 2) {
|
||||||
|
|
Loading…
Reference in a new issue