[Scummvm-cvs-logs] SF.net SVN: scummvm:[46156] scummvm/trunk/engines/m4/scene.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Thu Nov 26 17:11:02 CET 2009
Revision: 46156
http://scummvm.svn.sourceforge.net/scummvm/?rev=46156&view=rev
Author: fingolfin
Date: 2009-11-26 16:10:59 +0000 (Thu, 26 Nov 2009)
Log Message:
-----------
Fix warning
Modified Paths:
--------------
scummvm/trunk/engines/m4/scene.cpp
Modified: scummvm/trunk/engines/m4/scene.cpp
===================================================================
--- scummvm/trunk/engines/m4/scene.cpp 2009-11-26 16:09:47 UTC (rev 46155)
+++ scummvm/trunk/engines/m4/scene.cpp 2009-11-26 16:10:59 UTC (rev 46156)
@@ -826,13 +826,13 @@
_highlightedAction = 0;
}
-void ActionsView::getActionRect(int actionId, Common::Rect &bounds) {
+void ActionsView::getActionRect(int actionId, Common::Rect &b) {
int idx = actionId - kVerbLook;
- bounds.left = (idx / 5) * 32 + 2;
- bounds.top = (idx % 5) * 8 + MADS_SURFACE_HEIGHT + 3;
- bounds.right = ((idx / 5) + 1) * 32 + 3;
- bounds.bottom = ((idx % 5) + 1) * 8 + MADS_SURFACE_HEIGHT + 4;
+ b.left = (idx / 5) * 32 + 2;
+ b.top = (idx % 5) * 8 + MADS_SURFACE_HEIGHT + 3;
+ b.right = ((idx / 5) + 1) * 32 + 3;
+ b.bottom = ((idx % 5) + 1) * 8 + MADS_SURFACE_HEIGHT + 4;
}
void ActionsView::onRefresh(RectList *rects, M4Surface *destSurface) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list