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
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue