diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-08-26 17:24:43 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-08-26 17:24:43 +0000 |
commit | 07b6070c25faedd78c2e26825bd700dc294f00cf (patch) | |
tree | 6a3053ad2a88ee6f0091fafba6607bc82231f7f6 /src/npc.cpp | |
parent | 00d7badb647b4293c444c0374985b7f1ea8a1ed1 (diff) | |
download | mana-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.cpp | 4 |
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); } |