Fire - Remove unused plant integration (#9993)

Removed unused plant integration in fire
This commit is contained in:
johnb432 2024-05-22 22:37:24 +02:00 committed by GitHub
parent c03e08e51b
commit e1137ac903
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 27 deletions

View File

@ -1,6 +1,5 @@
PREP(burn); PREP(burn);
PREP(isBurning); PREP(isBurning);
PREP(isPlant);
PREP(burnIndicator); PREP(burnIndicator);
PREP(burnReaction); PREP(burnReaction);
PREP(fireManagerPFH); PREP(fireManagerPFH);

View File

@ -8,6 +8,4 @@ PREP_RECOMPILE_END;
#include "initSettings.inc.sqf" #include "initSettings.inc.sqf"
GVAR(burningPlants) = [];
ADDON = true; ADDON = true;

View File

@ -17,7 +17,4 @@
params [["_unit", objNull, [objNull]]]; params [["_unit", objNull, [objNull]]];
_unit getVariable [QGVAR(burning), false] || { _unit getVariable [QGVAR(burning), false]
GVAR(burningPlants) = GVAR(burningPlants) select {!isNull _x};
_unit in GVAR(burningPlants)
}

View File

@ -1,20 +0,0 @@
#include "..\script_component.hpp"
/*
* Author: commy2
* Check if object is a map placed bush or tree.
*
* Arguments:
* 0: Object <OBJECT>
*
* Return Value:
* Is bush or tree? <BOOL>
*
* Example:
* cursorObject call ace_fire_fnc_isPlant
*
* Public: No
*/
params [["_object", objNull, [objNull]]];
_object in nearestTerrainObjects [_object, ["TREE", "SMALL TREE", "BUSH"], 0.1]