diff options
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index b1fb9b4b..c6a4e55c 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -160,8 +160,8 @@ void Engine::changeMap(const std::string &mapPath) mCurrentMap = newMap; // Send "map loaded" - MessageOut outMsg(mNetwork); - outMsg.writeInt16(CMSG_MAP_LOADED); + MessageOut outMsg; + outMsg.writeShort(CMSG_MAP_LOADED); } void Engine::logic() |