diff options
author | Paul Gilbert | 2017-06-19 18:59:57 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-19 18:59:57 -0400 |
commit | ec4550fae5f388fbd4d0a18c3eff545ec5c876f3 (patch) | |
tree | be9af0d4ef4724b413b7a8b60298ad20e5c24fab /engines/titanic/true_talk | |
parent | 64c82e7e0eeb34fda780164e62f976438f15fafb (diff) | |
download | scummvm-rg350-ec4550fae5f388fbd4d0a18c3eff545ec5c876f3.tar.gz scummvm-rg350-ec4550fae5f388fbd4d0a18c3eff545ec5c876f3.tar.bz2 scummvm-rg350-ec4550fae5f388fbd4d0a18c3eff545ec5c876f3.zip |
TITANIC: Fix NPC data copying/clearing in copyData
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_npc_script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/tt_npc_script.cpp b/engines/titanic/true_talk/tt_npc_script.cpp index 990f22722d..86ed8716f7 100644 --- a/engines/titanic/true_talk/tt_npc_script.cpp +++ b/engines/titanic/true_talk/tt_npc_script.cpp @@ -115,8 +115,8 @@ void TTnpcData::resetFlags() { void TTnpcData::copyData() { if (_array[20]) { - Common::copy_backward(&_array[16], &_array[136], &_array[24]); - Common::fill(&_array[20], &_array[28], 0); + Common::copy_backward(&_array[16], &_array[128], &_array[136]); + Common::fill(&_array[16], &_array[24], 0); } } |