aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/object_v1w.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/object_v1w.cpp')
-rw-r--r--engines/hugo/object_v1w.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/object_v1w.cpp b/engines/hugo/object_v1w.cpp
index 321bb293f0..f3ba793a3b 100644
--- a/engines/hugo/object_v1w.cpp
+++ b/engines/hugo/object_v1w.cpp
@@ -344,7 +344,7 @@ void ObjectHandler_v1w::moveObjects() {
}
// If maze mode is enabled, do special maze processing
- if (_maze.enabledFl) {
+ if (_vm->_maze.enabledFl) {
seq_t *currImage = _vm->_hero->currImagePtr; // Get ptr to current image
// hero coordinates
int x1 = _vm->_hero->x + currImage->x1; // Left edge of object