Skip to content

Commit

Permalink
removed mapsync try
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed Jan 24, 2016
1 parent e3b1496 commit e70ae52
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
6 changes: 2 additions & 4 deletions helpers/establishingShot.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,9 @@ if (isNil "BIS_fnc_establishingShot_skip") then {

while {isNil "BIS_missionStarted"} do {
private ["_coords"];
if (side player == east) then {
_coords = [OPFOR_MAPCENTER, _rad, _ang] call BIS_fnc_relPos;
} else {

_coords = [_pos, _rad, _ang] call BIS_fnc_relPos;
};

_coords set [2, _alt];

BIS_fnc_establishingShot_fakeUAV camPreparePos _coords;
Expand Down
3 changes: 0 additions & 3 deletions init.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ if (isServer) then {
REPLAY_SPEED = 0.02;
REPLAY_STEPS_PER_TICK = 1;

OPFOR_MAPCENTER = [0,0];
publicVariable "OPFOR_MAPCENTER";

russianCredits = OPFOR_MONEY;
USCredits = BLUFOR_MONEY;

Expand Down
12 changes: 0 additions & 12 deletions mission_setup/teleport.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@ if (player == opfor_teamlead) then {
};
}
] call BIS_fnc_addStackedEventHandler;

[] spawn {
while {visibleMap} do {
disableSerialization;
_mapDisplay = findDisplay 12;
_mapCntrl = _mapDisplay displayCtrl 51;
_center = _mapCntrl ctrlMapScreenToWorld [0.5, 0.5];
OPFOR_MAPCENTER = _centre;
publicVariable "OPFOR_MAPCENTER";
sleep 0.5;
};
};
};

if (player == blufor_teamlead) then {
Expand Down

0 comments on commit e70ae52

Please sign in to comment.