diff options
author | Torbjörn Andersson | 2015-06-01 22:55:35 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2015-06-01 22:55:35 +0200 |
commit | d0a0f85fc524fc6e744c2a73c5c2413d411b4041 (patch) | |
tree | 3ba58ff20b8152793079a3e71e5e7d2c4d5a939f | |
parent | 0500dc2408f27d4cd93a2631ac64bdbd80e30336 (diff) | |
download | scummvm-rg350-d0a0f85fc524fc6e744c2a73c5c2413d411b4041.tar.gz scummvm-rg350-d0a0f85fc524fc6e744c2a73c5c2413d411b4041.tar.bz2 scummvm-rg350-d0a0f85fc524fc6e744c2a73c5c2413d411b4041.zip |
SHERLOCK: Remove unnecessary object positioning
The final piece of the logo animation doesn't move, so we only need
to set its position once. Obviously this could be further simplified.
-rw-r--r-- | engines/sherlock/scalpel/tsage/logo.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/sherlock/scalpel/tsage/logo.cpp b/engines/sherlock/scalpel/tsage/logo.cpp index 769f58c604..50021dd057 100644 --- a/engines/sherlock/scalpel/tsage/logo.cpp +++ b/engines/sherlock/scalpel/tsage/logo.cpp @@ -591,7 +591,6 @@ void Logo::nextFrame() { case 213: _objects[3]._frame = 2; - _objects[3]._position = Common::Point(155, 94); break; case 221: @@ -600,32 +599,26 @@ void Logo::nextFrame() { case 222: _objects[3]._frame = 3; - _objects[3]._position = Common::Point(155, 94); break; case 230: _objects[3]._frame = 4; - _objects[3]._position = Common::Point(155, 94); break; case 238: _objects[3]._frame = 5; - _objects[3]._position = Common::Point(155, 94); break; case 246: _objects[3]._frame = 6; - _objects[3]._position = Common::Point(155, 94); break; case 254: _objects[3]._frame = 7; - _objects[3]._position = Common::Point(155, 94); break; case 262: _objects[3]._frame = 8; - _objects[3]._position = Common::Point(155, 94); break; default: |