Fix stupid typo in hardcoded Duke3D actor

git-svn-id: https://svn.eduke32.com/eduke32@7426 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-03-19 17:09:36 +00:00 committed by Christoph Oelckers
parent 120332c562
commit d869e612e4

View file

@ -5275,7 +5275,7 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5
{ {
pSprite->xvel = (krand()&7)+(sintable[T1(spriteNum)&2047]>>9); pSprite->xvel = (krand()&7)+(sintable[T1(spriteNum)&2047]>>9);
T1(spriteNum) += (krand()&63); T1(spriteNum) += (krand()&63);
if ((T1(spriteNum)&2047) > 512 && (T1(spriteNum)&2047) < 1596) if ((T1(spriteNum)&2047) > 512 && (T1(spriteNum)&2047) < 1536)
{ {
if (sector[sectNum].lotag == ST_2_UNDERWATER) if (sector[sectNum].lotag == ST_2_UNDERWATER)
{ {