diff options
Diffstat (limited to 'src/environment.cpp')
-rw-r--r-- | src/environment.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index 9daa9e042..6cabc0dbc 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -1239,7 +1239,8 @@ void ServerEnvironment::step(float dtime) while(!obj->m_messages_out.empty()) { m_active_object_messages.push_back( - obj->m_messages_out.pop_front()); + obj->m_messages_out.front()); + obj->m_messages_out.pop(); } } } |