From 36894babe1ddecc10c9fedba36c5649f3e21b84e Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 10 Jan 2013 08:28:15 +0100 Subject: HOPKINS: Refactor checkCollisionLine --- engines/hopkins/globals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hopkins/globals.cpp') diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index 7d93e31af7..2392376a97 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -325,12 +325,12 @@ void Globals::clearAll() { chemin = (int16 *)g_PTRNUL; for (int idx = 0; idx < 400; ++idx) { - _vm->_linesManager.Ligne[idx].field0 = 0; + _vm->_linesManager.Ligne[idx]._lineDataEndIdx = 0; _vm->_linesManager.Ligne[idx].field2 = 0; _vm->_linesManager.Ligne[idx].field4 = 0; _vm->_linesManager.Ligne[idx].field6 = 0; _vm->_linesManager.Ligne[idx].field8 = 0; - _vm->_linesManager.Ligne[idx].lineData = (int16 *)g_PTRNUL; + _vm->_linesManager.Ligne[idx]._lineData = (int16 *)g_PTRNUL; _vm->_linesManager._zoneLine[idx].count = 0; _vm->_linesManager._zoneLine[idx].field2 = 0; -- cgit v1.2.3