Fixed arguments and function header

This commit is contained in:
Zakant 2017-03-23 13:19:25 +01:00
parent 5714374a99
commit 0cad7d0da6

View File

@ -2,13 +2,17 @@
* Author: Zakant
* Handels the start of the CPR treatment.
*
* Arguments:
* 0: The medic <OBJECT>
* 1: The patient <OBJECT>
*
* Return Value:
* NONE
*
* Public: No
*/
#include "script_component.hpp"
params ["_caller", "_target", "_selectionName", "_className", "_items"];
params ["_caller", "_target"];
_target setVariable [QGVAR(receiveCPR), true, true]; // Target receives CPR
if(EGVAR(medical,CPRcreatesPulse)) then {