summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-08-26 17:24:43 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-08-26 17:24:43 +0000
commit07b6070c25faedd78c2e26825bd700dc294f00cf (patch)
tree6a3053ad2a88ee6f0091fafba6607bc82231f7f6 /src/beingmanager.cpp
parent00d7badb647b4293c444c0374985b7f1ea8a1ed1 (diff)
downloadmana-07b6070c25faedd78c2e26825bd700dc294f00cf.tar.gz
mana-07b6070c25faedd78c2e26825bd700dc294f00cf.tar.bz2
mana-07b6070c25faedd78c2e26825bd700dc294f00cf.tar.xz
mana-07b6070c25faedd78c2e26825bd700dc294f00cf.zip
Made the Network class a purely static interface, as there is only one instance.
Diffstat (limited to 'src/beingmanager.cpp')
-rw-r--r--src/beingmanager.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp
index 7a94859a..caecd88e 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -49,11 +49,6 @@ class FindBeingFunctor
Being::Type type;
} beingFinder;
-BeingManager::BeingManager(Network *network):
- mNetwork(network)
-{
-}
-
void BeingManager::setMap(Map *map)
{
mMap = map;
@@ -79,7 +74,7 @@ Being* BeingManager::createBeing(Uint32 id, Uint16 job)
outMsg.writeLong(id);
}
else if (job >= 100 & job < 200)
- being = new NPC(id, job, mMap, mNetwork);
+ being = new NPC(id, job, mMap);
else if (job >= 1000 && job < 1200)
being = new Monster(id, job, mMap);
else