diff options
-rw-r--r-- | sword1/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/menu.cpp b/sword1/menu.cpp index 2439434d6e..7c0d4887ba 100644 --- a/sword1/menu.cpp +++ b/sword1/menu.cpp @@ -96,7 +96,7 @@ Menu::Menu(Screen *pScreen, Mouse *pMouse) { _objectBarStatus = MENU_CLOSED; _fadeSubject = 0; _fadeObject = 0; - for (cnt = 0; cnt < TOTAL_subjects; cnt++) + for (cnt = 0; cnt < 16; cnt++) _subjects[cnt] = NULL; for (cnt = 0; cnt < TOTAL_pockets; cnt++) _objects[cnt] = NULL; |