summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 19:44:23 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 20:18:11 +0100
commit712ca58c011123505c807266dcc8d9d84ca1aa44 (patch)
tree27c0dfe49f21bffe25007f70475be3223d3fa851 /src/beingmanager.cpp
parentff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2 (diff)
downloadmana-712ca58c011123505c807266dcc8d9d84ca1aa44.tar.gz
mana-712ca58c011123505c807266dcc8d9d84ca1aa44.tar.bz2
mana-712ca58c011123505c807266dcc8d9d84ca1aa44.tar.xz
mana-712ca58c011123505c807266dcc8d9d84ca1aa44.zip
Made eAthena's Network class statically accessible
Now the instance doesn't need to be passed into the MessageOut class anymore. Expect a lot of cleanup in the next commit.
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 d72c4ee4..ae9ee787 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -120,8 +120,7 @@ Being *BeingManager::createBeing(int id, Uint16 job)
// Player or NPC
if (job <= 1000 || (job >= 4001 && job <= 4049))
{
- MessageOut outMsg(mNetwork);
- outMsg.writeInt16(0x0094);
+ MessageOut outMsg(0x0094);
outMsg.writeInt32(id);//readLong(2));
}
#endif