From d0a0f85fc524fc6e744c2a73c5c2413d411b4041 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 1 Jun 2015 22:55:35 +0200 Subject: 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. --- engines/sherlock/scalpel/tsage/logo.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'engines/sherlock/scalpel/tsage') 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: -- cgit v1.2.3