aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/actor_path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/actor_path.cpp')
-rw-r--r--engines/saga/actor_path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/actor_path.cpp b/engines/saga/actor_path.cpp
index 434b019f67..716a0742a2 100644
--- a/engines/saga/actor_path.cpp
+++ b/engines/saga/actor_path.cpp
@@ -233,7 +233,7 @@ int Actor::fillPathArray(const Point &fromPoint, const Point &toPoint, Point &be
const PathDirectionData *samplePathDirection;
Point nextPoint;
int directionCount;
- int16 compressX = (_vm->getGameType() == GType_ITE) ? 2 : 1;
+ int16 compressX = (_vm->getGameId() == GID_ITE) ? 2 : 1;
_pathDirectionListCount = 0;
pointCounter = 0;