mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Disable playing RTS sounds until a crash can be resolved.
See comments in the source for details. git-svn-id: https://svn.eduke32.com/eduke32@3508 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d1442ac88e
commit
b4ae8c4238
1 changed files with 5 additions and 1 deletions
|
@ -7838,6 +7838,10 @@ void G_HandleLocalKeys(void)
|
|||
if (ud.lockout == 0)
|
||||
if (ud.config.SoundToggle && ALT_IS_PRESSED && (RTS_NumSounds() > 0) && g_RTSPlaying == 0 && (ud.config.VoiceToggle & 1))
|
||||
{
|
||||
#if 0
|
||||
// FIXME: http://forums.duke4.net/topic/6308-eduke32-crashed-when-press-altprintscreen/
|
||||
// HINT: keeping temp-sounding variables like "i" live for
|
||||
// a long time surely is recipe for disaster :/.
|
||||
FX_PlayAuto3D((char *)RTS_GetSound(i-1),RTS_SoundLength(i-1),0,0,0,255,-i);
|
||||
|
||||
g_RTSPlaying = 7;
|
||||
|
@ -7856,7 +7860,7 @@ void G_HandleLocalKeys(void)
|
|||
#endif
|
||||
pus = NUMPAGES;
|
||||
pub = NUMPAGES;
|
||||
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue