Skip to content

Commit f9b78a3

Browse files
authored
Merge pull request #57 from hallowatcher/reset-client-cutscene-block
revert cutscene block
2 parents c193677 + 2e0532a commit f9b78a3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/main/java/com/jagex/runescape/cache/media/gameInterface/GameInterface.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -536,16 +536,6 @@ else if(opcode == 1)
536536
return objects;
537537
}
538538

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-
549539
public static void processMenuActions(int arg0, int arg1) {
550540
if(arg1 >= 0) {
551541
int i = InteractiveObject.firstMenuOperand[arg1];
@@ -555,10 +545,6 @@ public static void processMenuActions(int arg0, int arg1) {
555545
action -= 2000;
556546
}
557547

558-
if (Player.cutsceneActive && !GameInterface.isActionWhitelisted(action)) {
559-
return;
560-
}
561-
562548
int i_12_ = Class33.selectedMenuActions[arg1];
563549
if(ChatBox.inputType != 0 && action != 1005) {
564550
ChatBox.inputType = 0;

0 commit comments

Comments
 (0)