diff options
author | Robert Göffringmann | 2004-11-18 17:48:50 +0000 |
---|---|---|
committer | Robert Göffringmann | 2004-11-18 17:48:50 +0000 |
commit | 589ce6d6aa51d36598457ca48b936a009c8b7462 (patch) | |
tree | 9f570ea755fa153604a45fea7b01469ca9c5cbc3 | |
parent | f80bdba62fd694c29a61b90898c57af8104793c5 (diff) | |
download | scummvm-rg350-589ce6d6aa51d36598457ca48b936a009c8b7462.tar.gz scummvm-rg350-589ce6d6aa51d36598457ca48b936a009c8b7462.tar.bz2 scummvm-rg350-589ce6d6aa51d36598457ca48b936a009c8b7462.zip |
fixes a crash when closing BS1 while speech menu is open.
svn-id: r15828
-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 89eac4ed2e..53075806ff 100644 --- a/sword1/menu.cpp +++ b/sword1/menu.cpp @@ -109,7 +109,7 @@ Menu::~Menu(void) { delete _objects[i]; _objects[i] = NULL; } - for (int i = 0; i < TOTAL_subjects; i++) { + for (int i = 0; i < 16; i++) { delete _subjects[i]; _subjects[i] = NULL; } |