aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actions/action_cel.cpp
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-06-23 16:26:24 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit633649398f3901b00bd8de7bc113f52971ccd940 (patch)
tree0be027a5def354409cf5647cae8a0caf768e2298 /engines/pink/objects/actions/action_cel.cpp
parentab44490673e2b8c04ba1ebe0a0ceb476f413a5b9 (diff)
downloadscummvm-rg350-633649398f3901b00bd8de7bc113f52971ccd940.tar.gz
scummvm-rg350-633649398f3901b00bd8de7bc113f52971ccd940.tar.bz2
scummvm-rg350-633649398f3901b00bd8de7bc113f52971ccd940.zip
PINK: added position recalculation of walking sprites
Diffstat (limited to 'engines/pink/objects/actions/action_cel.cpp')
-rw-r--r--engines/pink/objects/actions/action_cel.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/pink/objects/actions/action_cel.cpp b/engines/pink/objects/actions/action_cel.cpp
index a2cf1923d6..f31db4cbc9 100644
--- a/engines/pink/objects/actions/action_cel.cpp
+++ b/engines/pink/objects/actions/action_cel.cpp
@@ -77,9 +77,7 @@ Coordinates ActionCEL::getCoordinates() {
loadDecoder();
Coordinates coords;
- Common::Point point = _decoder.getCenter();
- coords.x = point.x;
- coords.y = point.y;
+ coords.point = _decoder.getCenter();
coords.z = getZ();
return coords;