From e98f789a02024c80f9e4275980587f962275cc13 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 26 Nov 2009 16:10:59 +0000 Subject: Fix warning svn-id: r46156 --- engines/m4/scene.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/m4') diff --git a/engines/m4/scene.cpp b/engines/m4/scene.cpp index d17de815e3..9940d09781 100644 --- a/engines/m4/scene.cpp +++ b/engines/m4/scene.cpp @@ -826,13 +826,13 @@ ActionsView::ActionsView(M4Engine *vm): InterfaceElement(vm, Common::Rect(0, MAD _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) { -- cgit v1.2.3