From 85ceaba67574642b48d308038a6af3fd3c53d108 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 24 May 2005 00:29:29 +0000 Subject: Fix for bug #705221 (FT: German ß is too high); based on the CVS logs for this (the order was changed back and forth a couple times) this change could cause regressions; if so, we need to address them properly, not by fiddling with this code around svn-id: r18240 --- scumm/verbs.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scumm/verbs.cpp') diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp index 014a773c15..73b863b186 100644 --- a/scumm/verbs.cpp +++ b/scumm/verbs.cpp @@ -336,7 +336,12 @@ void ScummEngine::redrawVerbs() { if (_cursor.state > 0) verb = findVerbAtPos(_mouse.x, _mouse.y); - for (i = _numVerbs-1; i >= 0; i--) { + // Iterate over all verbs. + // Note: This is the correct order (at least for MI EGA, MI2, Full Throttle). + // Do not change it! If you discover, based on disasm, that some game uses + // another (e.g. the reverse) order here, you have to use an if/else construct + // to add it as a special case! + for (i = 0; i < _numVerbs; i++) { if (i == verb && _verbs[verb].hicolor) drawVerb(i, 1); else -- cgit v1.2.3