mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-14 02:16:10 +00:00
Reverse visualization for projectiles vs. fighters
This commit is contained in:
parent
c470d54621
commit
ee695e84de
1 changed files with 2 additions and 2 deletions
|
@ -33,11 +33,11 @@ pub fn get_category(module_accessor: &mut app::BattleObjectModuleAccessor) -> i3
|
|||
}
|
||||
|
||||
pub unsafe fn is_fighter(module_accessor: &mut app::BattleObjectModuleAccessor) -> bool {
|
||||
get_category(module_accessor) != BATTLE_OBJECT_CATEGORY_FIGHTER
|
||||
get_category(module_accessor) == BATTLE_OBJECT_CATEGORY_FIGHTER
|
||||
}
|
||||
|
||||
pub unsafe fn is_operation_cpu(module_accessor: &mut app::BattleObjectModuleAccessor) -> bool {
|
||||
if is_fighter(module_accessor) {
|
||||
if !is_fighter(module_accessor) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue