mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
fixed bug in sneaking
This commit is contained in:
parent
32a29489f3
commit
b1defb4def
3 changed files with 40 additions and 32 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue