summaryrefslogtreecommitdiff
path: root/src/net/npchandler.h
diff options
context:
space:
mode:
authorDaniel Bradshaw <daniel+commits@the-cell.co.uk>2010-01-26 21:02:20 +0000
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-01-28 10:19:12 +0100
commitca2950fb8bffa9924aa49ab1d4729dbc2a391752 (patch)
treed95f92db525f415a4107ed8704b75368b70da967 /src/net/npchandler.h
parent8d299d86c1209be6084e0d78c0454c946874e00f (diff)
downloadmana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.gz
mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.bz2
mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.xz
mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.zip
Added virtual destructors, some implicit casts, and a couple of type changes.
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r--src/net/npchandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index e0199ebc..db7bdd7f 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -55,6 +55,8 @@ class NpcHandler
virtual void sellItem(int beingId, int itemId, int amount) = 0;
virtual void endShopping(int beingId) = 0;
+
+ virtual ~NpcHandler() {}
};
} // namespace Net