summaryrefslogtreecommitdiff
path: root/src/net/playerhandler.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-25 19:04:39 -0700
committerIra Rice <irarice@gmail.com>2009-02-25 19:04:39 -0700
commit0dde31c3db09113639fa443142995b6efcff6646 (patch)
tree9e91488f812067dae7a91f84393a930ffe31b626 /src/net/playerhandler.cpp
parent6cd131052c78af04e794409189a0d7e16dcc0c51 (diff)
downloadmana-0dde31c3db09113639fa443142995b6efcff6646.tar.gz
mana-0dde31c3db09113639fa443142995b6efcff6646.tar.bz2
mana-0dde31c3db09113639fa443142995b6efcff6646.tar.xz
mana-0dde31c3db09113639fa443142995b6efcff6646.zip
Fix NPC handling to not need a handle on the NPC
Loosely based on TMW commit f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1 Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/net/playerhandler.cpp')
-rw-r--r--src/net/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/playerhandler.cpp b/src/net/playerhandler.cpp
index f18c5d82..ffeb3fab 100644
--- a/src/net/playerhandler.cpp
+++ b/src/net/playerhandler.cpp
@@ -92,7 +92,7 @@ namespace {
buyDialog->setVisible(false);
sellDialog->setVisible(false);
buySellDialog->setVisible(false);
- current_npc = NULL;
+ current_npc = 0;
}
} deathListener;
}