aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actions/action_cel.cpp
diff options
context:
space:
mode:
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;