diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2020-04-11 09:59:09 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2020-04-11 16:07:17 +0200 |
commit | 894a34aef48024a752a1ef151d046955d83858d0 (patch) | |
tree | f264d4c1ba7a62fe731255594f592bd78b3e09a5 /src/script/cpp_api | |
parent | c99e8df07fe88c0b19363beca09e12f151bc13d0 (diff) | |
download | minetest-894a34aef48024a752a1ef151d046955d83858d0.tar.gz minetest-894a34aef48024a752a1ef151d046955d83858d0.tar.bz2 minetest-894a34aef48024a752a1ef151d046955d83858d0.zip |
Move PlayerSAO to dedicated files
Diffstat (limited to 'src/script/cpp_api')
-rw-r--r-- | src/script/cpp_api/s_base.cpp | 2 | ||||
-rw-r--r-- | src/script/cpp_api/s_player.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_base.cpp b/src/script/cpp_api/s_base.cpp index 16c20eeae..150baf77e 100644 --- a/src/script/cpp_api/s_base.cpp +++ b/src/script/cpp_api/s_base.cpp @@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "cpp_api/s_security.h" #include "lua_api/l_object.h" #include "common/c_converter.h" -#include "server/serveractiveobject.h" +#include "server/player_sao.h" #include "filesys.h" #include "content/mods.h" #include "porting.h" diff --git a/src/script/cpp_api/s_player.h b/src/script/cpp_api/s_player.h index cf24ddc73..7ca3d8f30 100644 --- a/src/script/cpp_api/s_player.h +++ b/src/script/cpp_api/s_player.h @@ -28,6 +28,7 @@ struct InventoryLocation; struct ItemStack; struct ToolCapabilities; struct PlayerHPChangeReason; +class ServerActiveObject; class ScriptApiPlayer : virtual public ScriptApiBase { |