Fix variable name in F_libSpawnVehicle

This commit is contained in:
Filip Maciejewski 2019-09-06 13:18:13 +02:00
parent 171a8cc1b2
commit 290f8f5bc4
No known key found for this signature in database
GPG Key ID: 53D1504CC3DBCD46
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ if ( _classname in opfor_choppers ) then {
_newvehicle flyInHeight (100 + (random 200));
} else {
_newvehicle = _classname createVehicle _spawnpos;
_vehicle call F_allowCrewInImmobile;
_newvehicle call F_allowCrewInImmobile;
_newvehicle setpos _spawnpos;
};
_newvehicle allowdamage false;