travis pls

This commit is contained in:
commy2 2016-09-26 20:52:08 +02:00
parent c21323f9ed
commit 0637a7401e

View File

@ -12,7 +12,8 @@
*/
#include "script_component.hpp"
#define HIT_STRUCTURAL #structural
// for travis
#define HIT_STRUCTURAL QGVAR($#structural)
params ["_unit", "_selection", "_damage", "_shooter", "_ammo", "_hitPointIndex"];
//diag_log _this;
@ -40,7 +41,7 @@ if (_hitPoint in ["hithead", "hitbody", "hithands", "hitlegs"]) exitWith {_oldDa
// Add injury
if (_hitPoint isEqualTo "ace_hdbracket") exitWith {
private _damageStructural = _unit getVariable [QGVAR($HIT_STRUCTURAL), 0];
private _damageStructural = _unit getVariable [HIT_STRUCTURAL, 0];
// --- Head
private _damageFace = _unit getVariable [QGVAR($HitFace), 0];