Merge pull request #2147 from jokoho48/codeCleanUpHitReaction

Code cleanup of HitReaction module
This commit is contained in:
PabstMirror 2015-08-13 17:11:19 -05:00
commit 28ac2fbec6

View File

@ -1,11 +1,7 @@
// by commy2
#include "script_component.hpp"
private ["_unit", "_firer", "_damage"];
_unit = _this select 0;
_firer = _this select 1;
_damage = _this select 2;
params ["_unit", "_firer", "_damage"];
// don't fall on collision damage
if (_unit == _firer) exitWith {};