Skip to content

Commit

Permalink
fix Warnings from Latest HEMTT versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jokoho48 committed Apr 4, 2024
1 parent 5755919 commit 074b860
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion addons/CLib/Core/Autoload/fn_loadModules.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if (isClass (configFile >> "CfgPatches" >> QPREFIX)) exitWith {

disableUserInput false;

compile preprocessFileLineNumbers "\tc\CLib\addons\CLib\Core\Autoload\fn_crashToDesktop.sqf"; // Crashes Client to Desktop
compile preprocessFileLineNumbers "\tc\CLib\addons\CLib\Core\Autoload\fn_crashToDesktop.notsqf"; // Crashes Client to Desktop
};

if (!(isNil "_this") && {_this isNotEqualTo []}) then {
Expand Down
2 changes: 1 addition & 1 deletion addons/CLib/Core/Misc/fn_inFOV.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ params [
["_width", 0, [0]]
];

(abs RELDIR(_obj, _target) < (_width atan2 (_obj distance _target)));
(abs RELDIR(_obj,_target) < (_width atan2 (_obj distance _target)));
6 changes: 3 additions & 3 deletions addons/CLib/macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@

// Logging/Dumping macros
#ifdef ISDEV
#define DUMP(var) SYSLOGGING("DUMP", var)
#define DUMP(var) SYSLOGGING("DUMP",var)
#else
#define DUMP(var) /* disabled */
#endif

#define LOG(var) SYSLOGGING("Log", var)
#define LOG(var) SYSLOGGING("Log",var)

#define ERROR_LOG(var) SYSLOGGING("Error", var)
#define ERROR_LOG(var) SYSLOGGING("Error",var)

// Function macros
#define EDFUNC(var1,var2) TRIPLE(PREFIX,var1,DOUBLE(fnc,var2))
Expand Down

0 comments on commit 074b860

Please sign in to comment.