mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
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:
parent
0485425697
commit
e6fbc4fb88
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user