From cb812625a7375038059c2dfb75bddcf2a92ae3d0 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Mon, 13 Aug 2012 18:26:06 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/gameexec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 3ffc3a6a9..866c964f0 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -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;