[Scummvm-cvs-logs] scummvm master -> 254e1a16e75957c4cf246d7bf31944324c822f7e
eriktorbjorn
eriktorbjorn at telia.com
Mon Jun 1 22:57:32 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
254e1a16e7 SHERLOCK: Remove unnecessary object positioning
Commit: 254e1a16e75957c4cf246d7bf31944324c822f7e
https://github.com/scummvm/scummvm/commit/254e1a16e75957c4cf246d7bf31944324c822f7e
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-06-01T22:55:35+02:00
Commit Message:
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.
Changed paths:
engines/sherlock/scalpel/tsage/logo.cpp
diff --git a/engines/sherlock/scalpel/tsage/logo.cpp b/engines/sherlock/scalpel/tsage/logo.cpp
index 769f58c..50021dd 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:
More information about the Scummvm-git-logs
mailing list