From 326af0d062d0a00d66e13aab23cc64c738f2dae8 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 5 Jun 2018 21:59:52 +0000 Subject: [PATCH] Fix SFLAG_WAKEUPBADGUYS git-svn-id: https://svn.eduke32.com/eduke32@6908 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 6bfd6f66e..14dc9aaa6 100644 --- a/source/duke3d/src/actors.cpp +++ b/source/duke3d/src/actors.cpp @@ -891,7 +891,7 @@ ACTOR_STATIC void A_MaybeAwakenBadGuys(int const spriteNum) || cansee(pSprite->x, pSprite->y, pSprite->z - PHEIGHT, pSprite->sectnum, sprite[spriteNum].x, sprite[spriteNum].y, sprite[spriteNum].z - PHEIGHT, sprite[spriteNum].sectnum)) { - actor[spriteNum].timetosleep = 0; + actor[spriteNum].timetosleep = SLEEPTIME; A_PlayAlertSound(spriteNum); changespritestat(spriteNum, STAT_ACTOR);