diff options
author | Paul Gilbert | 2017-09-25 21:25:26 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-25 21:25:26 -0400 |
commit | 49273699873390988d54417825e68ddac64343ac (patch) | |
tree | d56079893267514908aec1e4cbe8bf4a35b13734 /engines/titanic/true_talk | |
parent | c188fd91304d0f75933ac53bf356647075650f6c (diff) | |
download | scummvm-rg350-49273699873390988d54417825e68ddac64343ac.tar.gz scummvm-rg350-49273699873390988d54417825e68ddac64343ac.tar.bz2 scummvm-rg350-49273699873390988d54417825e68ddac64343ac.zip |
TITANIC: Fix loop limit in TTsentenceConcept destructor
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_sentence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_sentence.cpp b/engines/titanic/true_talk/tt_sentence.cpp index a1cf261bf2..2c675ba9e5 100644 --- a/engines/titanic/true_talk/tt_sentence.cpp +++ b/engines/titanic/true_talk/tt_sentence.cpp @@ -28,7 +28,7 @@ namespace Titanic { TTsentenceConcept::~TTsentenceConcept() { - for (int idx = 0; idx < 5; ++idx) + for (int idx = 0; idx <= 5; ++idx) delete _concepts[idx]; } |