replace private with private keyword in first half of common

This commit is contained in:
commy2
2015-12-12 16:48:54 +01:00
parent e9a669b03b
commit 3d5ea74c7e
117 changed files with 470 additions and 741 deletions

View File

@ -18,16 +18,14 @@
*/
#include "script_component.hpp"
params ["_unit"];
params [["_unit", objNull, [objNull]]];
private ["_uav", "_positionArray", "_playerIndex"];
_uav = getConnectedUAV _unit;
private _uav = getConnectedUAV _unit;
if (isNull _uav) exitWith {""};
_positionArray = UAVControl _uav;
_playerIndex = _positionArray find _unit;
private _positionArray = UAVControl _uav;
private _playerIndex = _positionArray find _unit;
if (_playerIndex == -1) exitWith {""};