1
0
Fork 0
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:
jugeeya 2020-05-18 06:22:11 -07:00 committed by GitHub
parent c470d54621
commit ee695e84de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}