diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-26 22:09:04 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-26 22:09:04 +0000 |
commit | 40339bebb026cd553aacbbff6f2fe1aa14816d5a (patch) | |
tree | f6398430043accbc90170ac15c62c8deebd895eb /src/engine.cpp | |
parent | fd279ae77295a6babedd31202078862eabcada9f (diff) | |
download | mana-40339bebb026cd553aacbbff6f2fe1aa14816d5a.tar.gz mana-40339bebb026cd553aacbbff6f2fe1aa14816d5a.tar.bz2 mana-40339bebb026cd553aacbbff6f2fe1aa14816d5a.tar.xz mana-40339bebb026cd553aacbbff6f2fe1aa14816d5a.zip |
Got rid of the default MessageOut constructor, since all messages should have
an ID.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 3e6b091a..7a33dd3d 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -39,9 +39,6 @@ #include "gui/gui.h" #include "gui/minimap.h" -#include "net/messageout.h" -#include "net/protocol.h" - #include "resources/itemmanager.h" #include "resources/mapreader.h" #include "resources/resourcemanager.h" @@ -148,10 +145,6 @@ void Engine::changeMap(const std::string &mapPath) } mCurrentMap = newMap; - - // Send "map loaded" - MessageOut outMsg; - outMsg.writeShort(CMSG_MAP_LOADED); } void Engine::logic() |