summaryrefslogtreecommitdiff
path: root/src/npc.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/npc.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/npc.cpp')
-rw-r--r--src/npc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/npc.cpp b/src/npc.cpp
index a82490ae..a14b6d24 100644
--- a/src/npc.cpp
+++ b/src/npc.cpp
@@ -33,8 +33,8 @@ extern Spriteset *npcset;
NPC *current_npc = 0;
-NPC::NPC(Uint32 id, Uint16 job, Map *map, Network *network):
- Being(id, job, map), mNetwork(network)
+NPC::NPC(Uint32 id, Uint16 job, Map *map):
+ Being(id, job, map)
{
mSprites[BASE_SPRITE] = new AnimatedSprite("graphics/sprites/npc.xml", job-100);
}