aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
authorStrangerke2013-01-10 08:28:15 +0100
committerStrangerke2013-01-10 08:28:15 +0100
commit36894babe1ddecc10c9fedba36c5649f3e21b84e (patch)
tree9a616ce828ab2e595224f768bba4bb7c496b6a30 /engines/hopkins/globals.cpp
parent0bf6d54d6bbddcb490aecdeaf6844957ee5faa56 (diff)
downloadscummvm-rg350-36894babe1ddecc10c9fedba36c5649f3e21b84e.tar.gz
scummvm-rg350-36894babe1ddecc10c9fedba36c5649f3e21b84e.tar.bz2
scummvm-rg350-36894babe1ddecc10c9fedba36c5649f3e21b84e.zip
HOPKINS: Refactor checkCollisionLine
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp4
1 files changed, 2 insertions, 2 deletions
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;