1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Remove dead code (#10845)

This commit is contained in:
rubenwardy 2021-01-22 15:09:26 +00:00 committed by GitHub
parent 67aa75d444
commit 4c76239818
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 8 additions and 331 deletions

View file

@ -415,11 +415,6 @@ public:
return m_csm_restriction_flags & flag;
}
u32 getCSMNodeRangeLimit() const
{
return m_csm_restriction_noderange;
}
inline std::unordered_map<u32, u32> &getHUDTranslationMap()
{
return m_hud_server_to_client;
@ -437,7 +432,6 @@ public:
}
private:
void loadMods();
bool checkBuiltinIntegrity();
// Virtual methods from con::PeerHandler
void peerAdded(con::Peer *peer) override;
@ -587,7 +581,6 @@ private:
// Client modding
ClientScripting *m_script = nullptr;
bool m_modding_enabled;
std::unordered_map<std::string, ModMetadata *> m_mod_storages;
float m_mod_storage_save_timer = 10.0f;
std::vector<ModSpec> m_mods;