]> git.lizzy.rs Git - minetest.git/blobdiff - src/environment.h
Fix RUN_IN_PLACE broken due to invalid usage of assert
[minetest.git] / src / environment.h
index 761e9068bed2998cba352ecc7345c3d572daf1df..c9c3744139648d82f07bd85ae1a27d5cc7ce5635 100644 (file)
@@ -393,7 +393,7 @@ class ServerEnvironment : public Environment
        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.
@@ -521,7 +521,7 @@ class ClientEnvironment : public Environment
        IGameDef *m_gamedef;
        IrrlichtDevice *m_irr;
        std::map<u16, ClientActiveObject*> m_active_objects;
-       std::list<ClientSimpleObject*> m_simple_objects;
+       std::vector<ClientSimpleObject*> m_simple_objects;
        std::list<ClientEnvEvent> m_client_event_queue;
        IntervalLimiter m_active_object_light_update_interval;
        IntervalLimiter m_lava_hurt_interval;