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:
helixhorned 2012-08-13 18:26:06 +00:00
parent d1e9116c23
commit cb812625a7

View file

@ -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;