From 7c46d891c6acc414e69c5cf624f45b7b297fe584 Mon Sep 17 00:00:00 2001 From: Eric Fry Date: Fri, 11 May 2018 21:27:52 +1000 Subject: ILLUSIONS: Print walk rectangle point on background to aid in debugging Comment and rename some code in pathfinder to aid in understanding --- engines/illusions/actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/illusions/actor.cpp') diff --git a/engines/illusions/actor.cpp b/engines/illusions/actor.cpp index 4ebce4160e..e9aad26ce8 100644 --- a/engines/illusions/actor.cpp +++ b/engines/illusions/actor.cpp @@ -1063,7 +1063,7 @@ void Controls::placeActor(uint32 actorTypeId, Common::Point placePt, uint32 sequ actor->_facing = 64; actor->_scale = actorType->_scale; actor->_namedPoints = &actorType->_namedPoints; - + BackgroundResource *bgRes = _vm->_backgroundInstances->getActiveBgResource(); if (actorType->_pathWalkPointsIndex) { actor->_pathWalkPoints = bgRes->getPathWalkPoints(actorType->_pathWalkPointsIndex - 1); -- cgit v1.2.3