diff options
author | Andrei Prykhodko | 2018-06-23 16:26:24 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | 633649398f3901b00bd8de7bc113f52971ccd940 (patch) | |
tree | 0be027a5def354409cf5647cae8a0caf768e2298 /engines/pink/objects/actions/action_cel.cpp | |
parent | ab44490673e2b8c04ba1ebe0a0ceb476f413a5b9 (diff) | |
download | scummvm-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.cpp | 4 |
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; |