File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
src/main/java/com/jagex/runescape/cache/media/gameInterface Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -536,16 +536,6 @@ else if(opcode == 1)
536
536
return objects ;
537
537
}
538
538
539
- public static boolean isActionWhitelisted (int action ) {
540
- List <Integer > whitelistedActionsDuringAnimation = new ArrayList ();
541
-
542
- // TODO add more actions that should work during a cutscene
543
- whitelistedActionsDuringAnimation .add (54 ); // Click here to continue
544
- whitelistedActionsDuringAnimation .add (1005 ); // Cancel
545
-
546
- return whitelistedActionsDuringAnimation .contains (action );
547
- }
548
-
549
539
public static void processMenuActions (int arg0 , int arg1 ) {
550
540
if (arg1 >= 0 ) {
551
541
int i = InteractiveObject .firstMenuOperand [arg1 ];
@@ -555,10 +545,6 @@ public static void processMenuActions(int arg0, int arg1) {
555
545
action -= 2000 ;
556
546
}
557
547
558
- if (Player .cutsceneActive && !GameInterface .isActionWhitelisted (action )) {
559
- return ;
560
- }
561
-
562
548
int i_12_ = Class33 .selectedMenuActions [arg1 ];
563
549
if (ChatBox .inputType != 0 && action != 1005 ) {
564
550
ChatBox .inputType = 0 ;
You can’t perform that action at this time.
0 commit comments