Skip to content

Commit

Permalink
Fastroping - Fix inconsistent usage of ARR macro (#7936)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahlgren committed Oct 5, 2020
1 parent 4e83b38 commit 8651d4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/fastroping/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class CfgVehicles {
class UserActions {
class Ramp_Open;
class Ramp_Close: Ramp_Open {
condition = QUOTE([ARR_5(this,'CargoRamp_Open',[[0],[1],[2]])] call FUNC(canCloseRamp));
condition = QUOTE([ARR_3(this,'CargoRamp_Open',[ARR_3([0],[1],[2])])] call FUNC(canCloseRamp));
};
};
};
Expand All @@ -234,7 +234,7 @@ class CfgVehicles {
class UserActions {
class Ramp_Open;
class Ramp_Close: Ramp_Open {
condition = QUOTE([ARR_5(this,'Door_rear_source',[[0],[3],[4]])] call FUNC(canCloseRamp));
condition = QUOTE([ARR_3(this,'Door_rear_source',[ARR_3([0],[3],[4])])] call FUNC(canCloseRamp));
};
};
};
Expand Down Expand Up @@ -268,7 +268,7 @@ class CfgVehicles {
class UserActions: UserActions {
class CloseDoor_6;
class Ramp_Close: CloseDoor_6 {
condition = QUOTE([ARR_6(this,'Door_6_source',[[0],[1],[2],[3]])] call FUNC(canCloseRamp));
condition = QUOTE([ARR_3(this,'Door_6_source',[ARR_4([0],[1],[2],[3])])] call FUNC(canCloseRamp));
};
};
};
Expand Down

0 comments on commit 8651d4c

Please sign in to comment.