mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
More code cleanup (UNORDERED + RemotePlayer/LocalPlayer)
* ClientEnvironment now uses UNORDERED MAP for active objects * Use RemotePlayer and LocalPlayer everywhere it's possible * Minor code style fixes * Drop Client::getBreath() unused function
This commit is contained in:
parent
067766eec2
commit
fd5a130b86
10 changed files with 124 additions and 152 deletions
|
@ -460,7 +460,6 @@ public:
|
|||
void setCrack(int level, v3s16 pos);
|
||||
|
||||
u16 getHP();
|
||||
u16 getBreath();
|
||||
|
||||
bool checkPrivilege(const std::string &priv) const
|
||||
{ return (m_privileges.count(priv) != 0); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue