summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-04 16:58:04 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-04 17:02:36 +0100
commit06f328207fa0a3e606992d3569b061b335eb0f48 (patch)
tree324ce16ead2a4080882bd23077d93e446811add5 /src/environment.h
parent2066655aae2022384fc12a10c04dccfd2996f0ac (diff)
downloadminetest-06f328207fa0a3e606992d3569b061b335eb0f48.tar.gz
minetest-06f328207fa0a3e606992d3569b061b335eb0f48.tar.bz2
minetest-06f328207fa0a3e606992d3569b061b335eb0f48.zip
ABMHandler and player_collisions use sequential read/write. Switch from std::list to std::vector
* Also remove dead code Map::unloadUnusedData which is dead since a long time
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/environment.h b/src/environment.h
index 761e9068b..386289307 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -393,7 +393,7 @@ private:
u32 m_game_time;
// A helper variable for incrementing the latter
float m_game_time_fraction_counter;
- std::list<ABMWithState> m_abms;
+ std::vector<ABMWithState> m_abms;
// An interval for generally sending object positions and stuff
float m_recommended_send_interval;
// Estimate for general maximum lag as determined by server.