mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-18 04:55:20 +01:00
fixed bug in sneaking
This commit is contained in:
@@ -323,7 +323,9 @@ public:
|
||||
|
||||
private:
|
||||
// This is used for determining the sneaking range
|
||||
v3s16 m_last_walked_node;
|
||||
v3s16 m_sneak_node;
|
||||
// Whether the player is allowed to sneak
|
||||
bool m_sneak_node_exists;
|
||||
};
|
||||
#endif // !SERVER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user