From 415c5e219e1ec0bdaed3aca91b9bec78506424e9 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 10 Dec 2017 03:24:47 +0000 Subject: [PATCH] screenpeek for EVENT_RECOGSOUND git-svn-id: https://svn.eduke32.com/eduke32@6550 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/actors.cpp b/source/duke3d/src/actors.cpp index 95523e4d2..8766cdab9 100644 --- a/source/duke3d/src/actors.cpp +++ b/source/duke3d/src/actors.cpp @@ -8123,7 +8123,7 @@ void A_PlayAlertSound(int spriteNum) { if (sprite[spriteNum].extra > 0) { - if ((VM_OnEventWithReturn(EVENT_RECOGSOUND, spriteNum, myconnectindex, 0)) != 0) + if ((VM_OnEventWithReturn(EVENT_RECOGSOUND, spriteNum, screenpeek, 0)) != 0) return; switch (DYNAMICTILEMAP(PN(spriteNum)))