Skip to content

Commit

Permalink
fixed wrong variables
Browse files Browse the repository at this point in the history
  • Loading branch information
killerswin2 committed Mar 15, 2023
1 parent 66db4fb commit 382e67e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions A3A/addons/core/functions/init/fn_initSpawnPlaces.sqf
Expand Up @@ -111,20 +111,20 @@ _vehicleSpawns = [];
_size = getMarkerSize _x;
_length = (_size select 0) * 2;
_width = (_size select 1) * 2;
if(_width < (4 + 2 * SPACING)) then
if(_length < (4 + 2 * SPACING)) then
{
Error_2("InitSpawnPlaces: Marker %1 is not wide enough for vehicles, required are %2 meters!", _x , (4 + 2 * SPACING));
}
else
{
if(_length < 10) then
if(_width < 10) then
{
Error_1("InitSpawnPlaces: Marker %1 is not long enough for vehicles, required are 10 meters!", _x);
}
else
{
//Cleaning area
private _radius = vectorDistance [_length, _width];
private _radius = [0,0] vectorDistance [_length, _width];
if (!isMultiplayer) then
{
{
Expand Down

0 comments on commit 382e67e

Please sign in to comment.