Merge pull request #384 from acemod/fixmass

fix falling over static weapons
This commit is contained in:
jaynus 2015-04-18 14:36:20 -07:00
commit 9618fefa67

View File

@ -18,3 +18,12 @@ class Extended_Engine_EventHandlers {
}; };
}; };
}; };
class Extended_Init_EventHandlers {
class StaticWeapon {
class ACE_FixMass {
init = QUOTE(if (local (_this select 0)) then {(_this select 0) setMass (getMass (_this select 0) max 250)};);
exclude[] = {"TargetSoldierBase","Static_Designator_01_base_F","Static_Designator_02_base_F","Pod_Heli_Transport_04_base_F"};
};
};
};