@@ -78,7 +78,7 @@ public class Game {
78
78
public static int loginStatus = 0 ;
79
79
public static int modewhat = 0 ;
80
80
public static int modewhere = 0 ;
81
- public static long aLong1203 = 0L ;
81
+ public static long lastClickTime = 0L ;
82
82
public static int mouseInvInterfaceIndex = 0 ;
83
83
public static int anInt509 = 0 ;
84
84
public static boolean aBoolean519 = true ;
@@ -618,7 +618,7 @@ else if (gameInterface.xTextAlignment == 1)
618
618
619
619
620
620
public static void setConfigToDefaults () {
621
- aLong1203 = 0L ;
621
+ lastClickTime = 0L ;
622
622
mouseCapturer .coord = 0 ;
623
623
duplicateClickCount = 0 ;
624
624
aBoolean1735 = true ;
@@ -636,7 +636,7 @@ public static void setConfigToDefaults() {
636
636
IncomingPackets .thirdLastOpcode = -1 ;
637
637
IncomingPackets .incomingPacketBuffer .currentPosition = 0 ;
638
638
MovedStatics .menuActionRow = 0 ;
639
- MouseHandler .method650 (0 );
639
+ MouseHandler .setFramesSinceMouseInput (0 );
640
640
for (int i = 0 ; i < 100 ; i ++)
641
641
ChatBox .chatMessages [i ] = null ;
642
642
GameInterface .itemCurrentlySelected = 0 ;
@@ -1255,10 +1255,10 @@ else if(x > 764)
1255
1255
}
1256
1256
}
1257
1257
if (MouseHandler .clickType != 0 ) {
1258
- long l = (MouseHandler .aLong2561 - aLong1203 ) / 50L ;
1258
+ long delta = (MouseHandler .clickTime - lastClickTime ) / 50L ;
1259
1259
int i = MouseHandler .clickX ;
1260
1260
int i_10_ = MouseHandler .clickY ;
1261
- aLong1203 = MouseHandler .aLong2561 ;
1261
+ lastClickTime = MouseHandler .clickTime ;
1262
1262
if (i >= 0 ) {
1263
1263
if (i > 764 )
1264
1264
i = 764 ;
@@ -1272,9 +1272,9 @@ else if(x > 764)
1272
1272
int i_11_ = 0 ;
1273
1273
if (MouseHandler .clickType == 2 )
1274
1274
i_11_ = 1 ;
1275
- if (l > 4095 )
1276
- l = 4095L ;
1277
- int i_12_ = (int ) l ;
1275
+ if (delta > 4095 )
1276
+ delta = 4095L ;
1277
+ int i_12_ = (int ) delta ;
1278
1278
OutgoingPackets .buffer .putPacket (234 );
1279
1279
int i_13_ = i_10_ * 765 + i ;
1280
1280
OutgoingPackets .buffer .putIntLE ((i_11_ << 19 ) + (i_12_ << 20 ) + i_13_ );
@@ -1471,7 +1471,7 @@ else if(ChatBox.dialogueId != -1)
1471
1471
int i_21_ = KeyFocusListener .resetFramesSinceKeyboardInput ();
1472
1472
if (i_20_ > 4500 && i_21_ > 4500 ) {
1473
1473
SceneCluster .idleLogout = 250 ;
1474
- MouseHandler .method650 (4000 );
1474
+ MouseHandler .setFramesSinceMouseInput (4000 );
1475
1475
OutgoingPackets .buffer .putPacket (216 );
1476
1476
}
1477
1477
0 commit comments