Skip to content

Commit

Permalink
Work around SQF validator macro issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dystopian committed Nov 12, 2017
1 parent 5316536 commit 8af3296
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions addons/quickmount/functions/fnc_addFreeSeatsActions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@
// moveIn right after moveOut doesn't work in MP for non-local vehicles, player just stays out
// we have to wait some time (e.g. until player is out)
// usually it takes 1 frame in SP and 3 frames in MP, so in MP looks a little lagging
#define MOVE_IN(command) [ARR_3( \
{isNull objectParent (_this select 0)}, \
{(_this select 0) command (_this select 1)}, \
[ARR_2(_player,_this select 2)] \
)] call CBA_fnc_waitUntilAndExecute;
#define MOVE_IN(command) \
[ARR_3( \
{isNull objectParent (_this select 0)}, \
{(_this select 0) command (_this select 1)}, \
[ARR_2(_player,_this select 2)] \
)] call CBA_fnc_waitUntilAndExecute;

scopeName "main";

Expand Down

0 comments on commit 8af3296

Please sign in to comment.