From e6fbc4fb88d769a24cd084144f5023e954a2c318 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 9 Oct 2011 10:16:04 +0200 Subject: CINE: Remove unused variable 'di' As far as I can tell, it converted the selection back to Y coordinate for no apparent reason. --- engines/cine/various.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'engines') diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp index 2f0c13740f..9b73ae1101 100644 --- a/engines/cine/various.cpp +++ b/engines/cine/various.cpp @@ -685,7 +685,6 @@ int16 makeMenuChoice(const CommandeType commandList[], uint16 height, uint16 X, int16 paramY; uint16 button; int16 var_A; - int16 di; uint16 j; int16 mouseX, mouseY; int16 currentSelection, oldSelection; @@ -721,8 +720,6 @@ int16 makeMenuChoice(const CommandeType commandList[], uint16 height, uint16 X, currentSelection = 0; - di = currentSelection * 9 + Y + 4; - menu->setSelection(currentSelection); renderer->drawFrame(); @@ -772,8 +769,6 @@ int16 makeMenuChoice(const CommandeType commandList[], uint16 height, uint16 X, hideMouse(); } - di = currentSelection * 9 + Y + 4; - menu->setSelection(currentSelection); renderer->drawFrame(); -- cgit v1.2.3