From beed45b8fce12d238c681ac5db4c2cc7da6d79b9 Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Sat, 9 Nov 2024 20:14:35 -0300 Subject: [PATCH] fix: compilation --- src/lua/functions/lua_functions_loader.hpp | 2 +- src/lua/functions/map/house_functions.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lua/functions/lua_functions_loader.hpp b/src/lua/functions/lua_functions_loader.hpp index a5207c611a9..fffc7e5b355 100644 --- a/src/lua/functions/lua_functions_loader.hpp +++ b/src/lua/functions/lua_functions_loader.hpp @@ -83,7 +83,7 @@ class Lua { return static_cast(number); } - return T{}; + return T {}; } template diff --git a/src/lua/functions/map/house_functions.cpp b/src/lua/functions/map/house_functions.cpp index 39a59e2f34b..10ebbc2cf0c 100644 --- a/src/lua/functions/map/house_functions.cpp +++ b/src/lua/functions/map/house_functions.cpp @@ -15,6 +15,7 @@ #include "game/movement/position.hpp" #include "io/iologindata.hpp" #include "map/house/house.hpp" +#include "creatures/players/player.hpp" #include "lua/functions/lua_functions_loader.hpp" void HouseFunctions::init(lua_State* L) {