From ec4550fae5f388fbd4d0a18c3eff545ec5c876f3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 19 Jun 2017 18:59:57 -0400 Subject: TITANIC: Fix NPC data copying/clearing in copyData --- engines/titanic/true_talk/tt_npc_script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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); } } -- cgit v1.2.3