mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-16 07:55:13 -06:00
Consolidate MiniMenu functions
This commit is contained in:
parent
36b0d99c42
commit
cf6a86e926
70 changed files with 1202 additions and 1252 deletions
|
|
@ -20,18 +20,18 @@ public final class Static59 {
|
|||
if (Static226.anInt3953 == 2) {
|
||||
if (Static155.anInt3751 == Static277.anInt5850 && Static60.anInt1892 == Static280.anInt5895) {
|
||||
Static226.anInt3953 = 0;
|
||||
if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && Static231.anInt5204 > 2) {
|
||||
ClientProt.method2232(Static231.anInt5204 - 2);
|
||||
if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && MiniMenu.size > 2) {
|
||||
MiniMenu.doAction(MiniMenu.size - 2);
|
||||
} else {
|
||||
ClientProt.method2232(Static231.anInt5204 - 1);
|
||||
MiniMenu.doAction(MiniMenu.size - 1);
|
||||
}
|
||||
}
|
||||
} else if (Static155.anInt3751 == Mouse.clickX && Static60.anInt1892 == Mouse.clickY) {
|
||||
Static226.anInt3953 = 0;
|
||||
if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && Static231.anInt5204 > 2) {
|
||||
ClientProt.method2232(Static231.anInt5204 - 2);
|
||||
if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && MiniMenu.size > 2) {
|
||||
MiniMenu.doAction(MiniMenu.size - 2);
|
||||
} else {
|
||||
ClientProt.method2232(Static231.anInt5204 - 1);
|
||||
MiniMenu.doAction(MiniMenu.size - 1);
|
||||
}
|
||||
} else {
|
||||
Static280.anInt5895 = Mouse.clickY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue