diff options
author | Wuzzy <wuzzy2@mail.ru> | 2021-10-01 14:21:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 16:21:24 +0200 |
commit | 21113ad4105dd3fb181b3d0638b907af94a352ab (patch) | |
tree | 9cd1346f6aff8968c23e2447e50d4469b888b01b /src/script/lua_api/l_localplayer.h | |
parent | f5040707fe7cf9f24274379598527d6298c5818c (diff) | |
download | dragonfireclient-21113ad4105dd3fb181b3d0638b907af94a352ab.tar.xz |
Split liquid_viscosity to liquid_viscosity and move_resistance (#10810)
Diffstat (limited to 'src/script/lua_api/l_localplayer.h')
-rw-r--r-- | src/script/lua_api/l_localplayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/lua_api/l_localplayer.h b/src/script/lua_api/l_localplayer.h index 4413f2bdb..041545a49 100644 --- a/src/script/lua_api/l_localplayer.h +++ b/src/script/lua_api/l_localplayer.h @@ -51,7 +51,6 @@ private: static int l_is_touching_ground(lua_State *L); static int l_is_in_liquid(lua_State *L); static int l_is_in_liquid_stable(lua_State *L); - static int l_get_liquid_viscosity(lua_State *L); static int l_is_climbing(lua_State *L); static int l_swimming_vertical(lua_State *L); @@ -96,6 +95,8 @@ private: // hud_get(self, id) static int l_hud_get(lua_State *L); + static int l_get_move_resistance(lua_State *L); + LocalPlayer *m_localplayer = nullptr; public: |