mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 11:11:04 +00:00
SW: Fix "MV_GetVoice(): bad handle" log spam
git-svn-id: https://svn.eduke32.com/eduke32@8311 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/sw/src/draw.cpp # source/sw/src/menus.cpp
This commit is contained in:
parent
f411b72783
commit
510e737360
8 changed files with 65 additions and 46 deletions
|
@ -997,7 +997,11 @@ int WeaponOperate(PLAYERp pp)
|
|||
if (pp->WpnRocketType != 2 || pp->CurWpn != pp->Wpn[WPN_MICRO])
|
||||
{
|
||||
pp->InitingNuke = FALSE;
|
||||
FX_StopSound(pp->nukevochandle);
|
||||
if (pp->nukevochandle > 0)
|
||||
{
|
||||
FX_StopSound(pp->nukevochandle);
|
||||
pp->nukevochandle = 0;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue