some fixes for MP

This commit is contained in:
commy2 2015-03-17 12:20:46 +01:00
parent 6d868d1bd1
commit 5f39cf213b
3 changed files with 1 additions and 3 deletions

View File

@ -26,7 +26,7 @@ _exceptions = [_exceptions, {toLower _this}] call FUNC(map);
private "_owner";
_owner = _target getVariable [QGVAR(owner), objNull];
if (!isNull _owner && {_unit != _owner} && {!([_owner] call FUNC(isPlayer))}) exitWith {false};
if (!isNull _owner && {_unit != _owner}) exitWith {false};
// check general conditions

View File

@ -1,5 +1,4 @@
// by PabstMirror, commy2
#include "script_component.hpp"
GVAR(currentHeightChange) = 0;

View File

@ -37,7 +37,6 @@ if (_inBuilding) then {
_target setPosASL (getPosASL _target vectorAdd [0, 0, 0.05]);
};
_unit setVariable [QGVAR(isDragging), false, true];
_unit setVariable [QGVAR(draggedObject), objNull, true];