mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
General - Fix preprocessor issues (#7563)
* Fix preprocessor issues * Fix more preprocessor issues
This commit is contained in:
parent
15b4b98e5b
commit
c42a004ab3
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
params ["_vehicle", "_turretPath", "_carryMag", "_vehMag", "_unit"];
|
params ["_vehicle", "_turretPath", "_carryMag", "_vehMag", "_unit"];
|
||||||
TRACE_6("removeTurretMag EH",_vehicle,_turretPath,_carryMag,_vehMag,_unit);
|
TRACE_5("removeTurretMag EH",_vehicle,_turretPath,_carryMag,_vehMag,_unit);
|
||||||
|
|
||||||
TRACE_3("",local _vehicle, _vehicle turretLocal _turretPath,local _unit);
|
TRACE_3("",local _vehicle, _vehicle turretLocal _turretPath,local _unit);
|
||||||
if (!(_vehicle turretLocal _turretPath)) exitWith {};
|
if (!(_vehicle turretLocal _turretPath)) exitWith {};
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#define __JavelinIGUISeek (__JavelinIGUI displayCtrl 699000)
|
#define __JavelinIGUISeek (__JavelinIGUI displayCtrl 699000)
|
||||||
#define __JavelinIGUITop (__JavelinIGUI displayCtrl 699001)
|
#define __JavelinIGUITop (__JavelinIGUI displayCtrl 699001)
|
||||||
#define __JavelinIGUIDir (__JavelinIGUI displayCtrl 699002)
|
#define __JavelinIGUIDir (__JavelinIGUI displayCtrl 699002)
|
||||||
#define __JavelinIGUIRangefinder (__JavelinIGUI displayCtrl 151)
|
|
||||||
|
|
||||||
// Constrains
|
// Constrains
|
||||||
#define __JavelinIGUITargetingConstrains (__JavelinIGUI displayCtrl 699100)
|
#define __JavelinIGUITargetingConstrains (__JavelinIGUI displayCtrl 699100)
|
||||||
|
@ -67,7 +67,7 @@ if IS_UNCONSCIOUS(_patient) then {
|
|||||||
[QEGVAR(medical,WakeUp), _patient] call CBA_fnc_localEvent;
|
[QEGVAR(medical,WakeUp), _patient] call CBA_fnc_localEvent;
|
||||||
_state = GET_SM_STATE(_patient);
|
_state = GET_SM_STATE(_patient);
|
||||||
TRACE_1("after WakeUp",_state);
|
TRACE_1("after WakeUp",_state);
|
||||||
if IS_UNCONSCIOUS(_patient) then { ERROR_1("fullheal [unit %1][state %2] failed to wake up patient",_patient,_state); };
|
if IS_UNCONSCIOUS(_patient) then { ERROR_2("fullheal [unit %1][state %2] failed to wake up patient",_patient,_state); };
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generic medical admin
|
// Generic medical admin
|
||||||
|
@ -28,7 +28,7 @@ if (_isActive || { CBA_missionTime >= _timeWhenActive }) then {
|
|||||||
};
|
};
|
||||||
if !(_wasActive) then {
|
if !(_wasActive) then {
|
||||||
_seekerStateParams set [6, true];
|
_seekerStateParams set [6, true];
|
||||||
TRACE_1("Missile Pitbull");
|
TRACE_1("Missile Pitbull",_seekerStateParams);
|
||||||
};
|
};
|
||||||
// Internal radar homing
|
// Internal radar homing
|
||||||
// For performance reasons only poll for target every so often instead of each frame
|
// For performance reasons only poll for target every so often instead of each frame
|
||||||
|
Loading…
Reference in New Issue
Block a user