1
0
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:
Perttu Ahola
2011-02-14 11:43:42 +02:00
parent 32a29489f3
commit b1defb4def
3 changed files with 40 additions and 32 deletions

View File

@@ -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