Fix SFLAG_WAKEUPBADGUYS

git-svn-id: https://svn.eduke32.com/eduke32@6908 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-06-05 21:59:52 +00:00
parent 8bf9ad1c31
commit 326af0d062

View file

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