mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 10:54:16 +00:00
turn visuals back on in non-training
This commit is contained in:
parent
43af53dc26
commit
c470d54621
1 changed files with 5 additions and 3 deletions
|
@ -174,9 +174,11 @@ pub unsafe fn get_command_flag_cat(
|
||||||
module_accessor: &mut app::BattleObjectModuleAccessor,
|
module_accessor: &mut app::BattleObjectModuleAccessor,
|
||||||
category: i32,
|
category: i32,
|
||||||
) {
|
) {
|
||||||
// Pause Effect AnimCMD if hitbox visualization is active
|
if is_training_mode() {
|
||||||
MotionAnimcmdModule::set_sleep_effect(module_accessor, MENU.hitbox_vis
|
// Pause Effect AnimCMD if hitbox visualization is active
|
||||||
&& !((*FIGHTER_STATUS_KIND_CATCH..=*FIGHTER_STATUS_KIND_TREAD_FALL).contains(&StatusModule::status_kind(module_accessor))));
|
MotionAnimcmdModule::set_sleep_effect(module_accessor, MENU.hitbox_vis
|
||||||
|
&& !((*FIGHTER_STATUS_KIND_CATCH..=*FIGHTER_STATUS_KIND_TREAD_FALL).contains(&StatusModule::status_kind(module_accessor))));
|
||||||
|
}
|
||||||
|
|
||||||
// apply only once per frame
|
// apply only once per frame
|
||||||
if category == 0 && is_training_mode() && MENU.hitbox_vis {
|
if category == 0 && is_training_mode() && MENU.hitbox_vis {
|
||||||
|
|
Loading…
Reference in a new issue