Reverted in favour of onProgress treatment

This commit is contained in:
BaerMitUmlaut 2015-05-27 00:52:16 +02:00
parent 30df0e8dc9
commit f7578a92c9
2 changed files with 0 additions and 38 deletions

View File

@ -1,20 +0,0 @@
/*
* Author: BaerMitUmlaut
* Handles treatment via surgical kit.
*
* Public: No
*/
#include "script_component.hpp"
private ["_target", "_caller", "_selectionName", "_className", "_items"];
_caller = _this select 0;
_target = _this select 1;
_selectionName = _this select 2;
_className = _this select 3;
_items = _this select 4;
// TODO replace by event system
[[_caller, _target], QUOTE(DFUNC(treatmentAdvanced_surgicalKitLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
true;

View File

@ -1,18 +0,0 @@
/*
* Author: BaerMitUmlaut
* Handles treatment via surgical kit (locally).
*
* Public: No
*/
#include "script_component.hpp"
private ["_target", "_caller"];
_caller = _this select 0;
_target = _this select 1;
if (alive _target) exitwith {
_target setvariable [QGVAR(bandagedWounds), [], true];
};