summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-26 22:09:04 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-26 22:09:04 +0000
commit40339bebb026cd553aacbbff6f2fe1aa14816d5a (patch)
treef6398430043accbc90170ac15c62c8deebd895eb /src/beingmanager.cpp
parentfd279ae77295a6babedd31202078862eabcada9f (diff)
downloadmana-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/beingmanager.cpp')
-rw-r--r--src/beingmanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp
index caecd88e..a6c7974d 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -69,8 +69,7 @@ Being* BeingManager::createBeing(Uint32 id, Uint16 job)
if (job < 10)
{
being = new Player(id, job, mMap);
- MessageOut outMsg;
- outMsg.writeShort(0x0094);
+ MessageOut outMsg(0x0094);
outMsg.writeLong(id);
}
else if (job >= 100 & job < 200)