aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/script.cpp b/script.cpp
index 98b6561b65..26e0cf95da 100644
--- a/script.cpp
+++ b/script.cpp
@@ -732,7 +732,7 @@ int Scumm::getVerbEntrypoint(int obj, int entry) {
void Scumm::push(int a) {
- assert(_scummStackPos >=0 && _scummStackPos <= ARRAYSIZE(_scummStack)-1);
+ assert(_scummStackPos >=0 && _scummStackPos <= ARRAYSIZE(_scummStack));
_scummStack[_scummStackPos++] = a;
}