From a982e4c7b0ad62b4c22c4cbb6b3136e36ebdf4e0 Mon Sep 17 00:00:00 2001 From: NiteKat Date: Fri, 21 Jul 2023 11:31:27 -0400 Subject: [PATCH] monster: add BUGFIX for mVar2 (#2290) --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index ac452ce83..51f29132f 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -2382,7 +2382,7 @@ BOOL M_DoStand(int i) if (Monst->_mAnimFrame == Monst->_mAnimLen) M_Enemy(i); - Monst->_mVar2++; + Monst->_mVar2++; // BUGFIX: Should have a bound check as this will overflow if a player stays on same level for over 3 years. return FALSE; }