aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2011-10-09 10:16:04 +0200
committerTorbjörn Andersson2011-10-09 10:16:04 +0200
commite6fbc4fb88d769a24cd084144f5023e954a2c318 (patch)
tree7e38ad41d095b2be43f934d6a95406714d03efdc /engines
parent04854256974ad9bd04120a4d5b331d54999af68f (diff)
downloadscummvm-rg350-e6fbc4fb88d769a24cd084144f5023e954a2c318.tar.gz
scummvm-rg350-e6fbc4fb88d769a24cd084144f5023e954a2c318.tar.bz2
scummvm-rg350-e6fbc4fb88d769a24cd084144f5023e954a2c318.zip
CINE: Remove unused variable 'di'
As far as I can tell, it converted the selection back to Y coordinate for no apparent reason.
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/various.cpp5
1 files changed, 0 insertions, 5 deletions
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();