aboutsummaryrefslogtreecommitdiff
path: root/src/clientenvironment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientenvironment.h')
-rw-r--r--src/clientenvironment.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clientenvironment.h b/src/clientenvironment.h
index 79b4797ad..2906553f0 100644
--- a/src/clientenvironment.h
+++ b/src/clientenvironment.h
@@ -64,6 +64,7 @@ struct ClientEnvEvent
};
};
+typedef std::unordered_map<u16, ClientActiveObject*> ClientActiveObjectMap;
class ClientEnvironment : public Environment
{
public:
@@ -181,7 +182,7 @@ private:
Client *m_client;
ClientScripting *m_script;
IrrlichtDevice *m_irr;
- UNORDERED_MAP<u16, ClientActiveObject*> m_active_objects;
+ ClientActiveObjectMap m_active_objects;
std::vector<ClientSimpleObject*> m_simple_objects;
std::queue<ClientEnvEvent> m_client_event_queue;
IntervalLimiter m_active_object_light_update_interval;