diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2016-10-08 19:08:23 +0200 |
---|---|---|
committer | Ner'zhul <nerzhul@users.noreply.github.com> | 2016-10-08 22:27:44 +0200 |
commit | 569b89b36fff058390cb90458da4285552a9c97e (patch) | |
tree | e4329a3e1a567301e7b09c416bbb7ab64585b7af /src/script | |
parent | 7bbd716426bf989bf071e2322a9b797cc5f78acb (diff) | |
download | minetest-569b89b36fff058390cb90458da4285552a9c97e.tar.gz minetest-569b89b36fff058390cb90458da4285552a9c97e.tar.bz2 minetest-569b89b36fff058390cb90458da4285552a9c97e.zip |
Move RemotePlayer code to its own cpp/header
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/lua_api/l_object.cpp | 2 | ||||
-rw-r--r-- | src/script/lua_api/l_object.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index a1f83919c..bb352e429 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -107,7 +107,7 @@ PlayerSAO* ObjectRef::getplayersao(ObjectRef *ref) return (PlayerSAO*)obj; } -RemotePlayer* ObjectRef::getplayer(ObjectRef *ref) +RemotePlayer *ObjectRef::getplayer(ObjectRef *ref) { PlayerSAO *playersao = getplayersao(ref); if (playersao == NULL) diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index dfc1b49d2..09f10e417 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -47,7 +47,7 @@ private: static PlayerSAO* getplayersao(ObjectRef *ref); - static RemotePlayer* getplayer(ObjectRef *ref); + static RemotePlayer *getplayer(ObjectRef *ref); // Exported functions |