diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2016-10-08 11:25:46 +0200 |
---|---|---|
committer | Ner'zhul <nerzhul@users.noreply.github.com> | 2016-10-08 11:36:28 +0200 |
commit | 09cefc3dfd76ac629bfc0777635fc5ac47b25ab0 (patch) | |
tree | cd339a4c23a0d9de1df363608e36fdafcb5b762c /src/server.h | |
parent | 8bcd10b872bc88c6f474913d6efb8d53c50c5ae1 (diff) | |
download | minetest-09cefc3dfd76ac629bfc0777635fc5ac47b25ab0.tar.gz minetest-09cefc3dfd76ac629bfc0777635fc5ac47b25ab0.tar.bz2 minetest-09cefc3dfd76ac629bfc0777635fc5ac47b25ab0.zip |
Remove some unused attributes/class functions in server.cpp/h
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/server.h b/src/server.h index 331a91a52..555aab692 100644 --- a/src/server.h +++ b/src/server.h @@ -64,31 +64,6 @@ enum ClientDeletionReason { CDR_DENY }; -class MapEditEventIgnorer -{ -public: - MapEditEventIgnorer(bool *flag): - m_flag(flag) - { - if(*m_flag == false) - *m_flag = true; - else - m_flag = NULL; - } - - ~MapEditEventIgnorer() - { - if(m_flag) - { - assert(*m_flag); - *m_flag = false; - } - } - -private: - bool *m_flag; -}; - class MapEditEventAreaIgnorer { public: @@ -287,7 +262,6 @@ public: const std::string &playername); void deleteParticleSpawner(const std::string &playername, u32 id); - void deleteParticleSpawnerAll(u32 id); // Creates or resets inventory Inventory* createDetachedInventory(const std::string &name); @@ -527,9 +501,7 @@ private: // Some timers float m_liquid_transform_timer; float m_liquid_transform_every; - float m_print_info_timer; float m_masterserver_timer; - float m_objectdata_timer; float m_emergethread_trigger_timer; float m_savemap_timer; IntervalLimiter m_map_timer_and_unload_interval; |