diff --git a/addons/nametags/functions/common.sqf b/addons/nametags/functions/common.hpp similarity index 100% rename from addons/nametags/functions/common.sqf rename to addons/nametags/functions/common.hpp diff --git a/addons/nametags/functions/fnc_doShow.sqf b/addons/nametags/functions/fnc_doShow.sqf index dd23d0d085..cb0e524f26 100644 --- a/addons/nametags/functions/fnc_doShow.sqf +++ b/addons/nametags/functions/fnc_doShow.sqf @@ -12,7 +12,7 @@ */ #include "script_component.hpp" -#include QUOTE(PATHTOF(functions\common.sqf)); +#include "common.hpp"; private["_roleImages", "_player", "_vehicle", "_type", "_config", "_text", "_data", "_isAir", "_turretUnits", "_turretRoles", "_index", "_roleType", "_unit", "_toShow"]; diff --git a/addons/nametags/functions/fnc_getVehicleData.sqf b/addons/nametags/functions/fnc_getVehicleData.sqf index 6a0ca43fcd..5914bc1f7e 100644 --- a/addons/nametags/functions/fnc_getVehicleData.sqf +++ b/addons/nametags/functions/fnc_getVehicleData.sqf @@ -17,7 +17,7 @@ */ #include "script_component.hpp" -#include QUOTE(PATHTOF(functions\common.sqf)); +#include "common.hpp"; private ["_type", "_varName", "_data"];