Skip to content

Commit 45117ea

Browse files
Fix debugging
1 parent 597fa86 commit 45117ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

addons/main/script_macros.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
#define KEY_CODE(VAR) {if (!isNull findDisplay IDD_RSCDISPLAYCURATOR) exitWith {false}; call CBA_fnc_currentUnit call FUNC(VAR)}
6060

6161
#ifdef DEBUG_MODE_FULL
62-
#define DEBUG_R(P1,P2) [{drawLine3D _this},{},[ASLToATL P1,ASLToATL P2,[1,0,0,1]],10] call CBA_fnc_waitUntilAndExecute;
63-
#define DEBUG_G(P1,P2) [{drawLine3D _this},{},[ASLToATL P1,ASLToATL P2,[0,1,0,1]],10] call CBA_fnc_waitUntilAndExecute;
64-
#define DEBUG_B(P1,P2) [{drawLine3D _this},{},[ASLToATL P1,ASLToATL P2,[0,0,1,1]],10] call CBA_fnc_waitUntilAndExecute;
62+
#define DEBUG_R(P1,P2) [{drawLine3D _this},{},[ASLToAGL P1,ASLToAGL P2,[1,0,0,1]],10] call CBA_fnc_waitUntilAndExecute;
63+
#define DEBUG_G(P1,P2) [{drawLine3D _this},{},[ASLToAGL P1,ASLToAGL P2,[0,1,0,1]],10] call CBA_fnc_waitUntilAndExecute;
64+
#define DEBUG_B(P1,P2) [{drawLine3D _this},{},[ASLToAGL P1,ASLToAGL P2,[0,0,1,1]],10] call CBA_fnc_waitUntilAndExecute;
6565
#else
6666
#define DEBUG_R(P1,P2)
6767
#define DEBUG_G(P1,P2)

0 commit comments

Comments
 (0)