From 401bf7e98bd1ac7a77c521a7aece2ca7bfb17f67 Mon Sep 17 00:00:00 2001 From: sidschingis Date: Mon, 15 Jun 2020 16:25:25 +0200 Subject: [PATCH] Fix Grab OOS (#89) Fixed skipping the 4f additional shield hold --- src/training/shield.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/training/shield.rs b/src/training/shield.rs index 5003d5e..5db73a6 100644 --- a/src/training/shield.rs +++ b/src/training/shield.rs @@ -220,10 +220,10 @@ unsafe fn handle_attack_option( if !WorkModule::is_enable_transition_term( module_accessor, *FIGHTER_STATUS_TRANSITION_TERM_ID_CONT_CATCH, - ) || !WorkModule::get_int( + ) || WorkModule::get_int( module_accessor, *FIGHTER_INSTANCE_WORK_ID_INT_INVALID_CATCH_FRAME, - ) == 0 + ) != 0 { return; }