diff options
author | Paul Gilbert | 2016-06-04 23:39:52 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:19:59 -0400 |
commit | 253cf2f57457d430236a4d972a1d6295511c21fa (patch) | |
tree | ab34e43de0043fdb4ed0da6617b4addb0590aa74 /engines | |
parent | 6c4eff4dfcb883df81d415bb57377da7bf239cc1 (diff) | |
download | scummvm-rg350-253cf2f57457d430236a4d972a1d6295511c21fa.tar.gz scummvm-rg350-253cf2f57457d430236a4d972a1d6295511c21fa.tar.bz2 scummvm-rg350-253cf2f57457d430236a4d972a1d6295511c21fa.zip |
TITANIC: Fix startup crash when creating NPC scripts
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/true_talk/tt_npc_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_npc_script.cpp b/engines/titanic/true_talk/tt_npc_script.cpp index 337b367eb9..86494e8d3c 100644 --- a/engines/titanic/true_talk/tt_npc_script.cpp +++ b/engines/titanic/true_talk/tt_npc_script.cpp @@ -83,7 +83,7 @@ void TTnpcScript::load(const char *name, int valuesPerResponse) { } void TTnpcScript::resetFlags() { - Common::fill(&_array[20], &_array[140], 0); + Common::fill(&_array[20], &_array[136], 0); _field2CC = false; } |