screenpeek for EVENT_RECOGSOUND

git-svn-id: https://svn.eduke32.com/eduke32@6550 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-12-10 03:24:47 +00:00
parent b65458ebfe
commit 415c5e219e

View file

@ -8123,7 +8123,7 @@ void A_PlayAlertSound(int spriteNum)
{ {
if (sprite[spriteNum].extra > 0) if (sprite[spriteNum].extra > 0)
{ {
if ((VM_OnEventWithReturn(EVENT_RECOGSOUND, spriteNum, myconnectindex, 0)) != 0) if ((VM_OnEventWithReturn(EVENT_RECOGSOUND, spriteNum, screenpeek, 0)) != 0)
return; return;
switch (DYNAMICTILEMAP(PN(spriteNum))) switch (DYNAMICTILEMAP(PN(spriteNum)))