CINE: Remove unused variable 'di'

As far as I can tell, it converted the selection back to Y coordinate
for no apparent reason.
This commit is contained in:
Torbjörn Andersson 2011-10-09 10:16:04 +02:00
parent 0485425697
commit e6fbc4fb88

View File

@ -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();