mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
CON: in fake multi-mode, play 'globalsound' even if player index isn't screenpeek.
This makes sounds like DUKE_GET (item pickup) be heard for the second player in the splitscreen mod, too. git-svn-id: https://svn.eduke32.com/eduke32@2890 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d1e9116c23
commit
cb812625a7
1 changed files with 3 additions and 1 deletions
|
@ -1230,7 +1230,9 @@ skip_check:
|
|||
insptr++;
|
||||
continue;
|
||||
}
|
||||
if (vm.g_p == screenpeek || (GametypeFlags[ud.coop]&GAMETYPE_COOPSOUND))
|
||||
if (vm.g_p == screenpeek || (GametypeFlags[ud.coop]&GAMETYPE_COOPSOUND)
|
||||
|| (g_fakeMultiMode && ud.multimode==2)
|
||||
)
|
||||
A_PlaySound(*insptr,g_player[screenpeek].ps->i);
|
||||
insptr++;
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue