From f0ad130ffad58b29ccd6228ad08f7d1c87156d6c Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 6 Mar 2002 15:55:31 +0000 Subject: [PATCH] Sam and Max is now completable. There are two graphical glitches, and the game will freeze if you either look at the dragon heart, or set off the alarm in Bumpusville. These two bugs are still being worked on. svn-id: r3667 --- script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.cpp b/script.cpp index 98b6561b654..26e0cf95dac 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; }