summaryrefslogtreecommitdiff
path: root/src/net/ea/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-12 23:38:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-12 23:38:04 +0300
commitd3af59b8eedae98a49367e2ac37f2ab1b79c0557 (patch)
tree5c004058a74022e2a1cb33d497b2533bf3e9b085 /src/net/ea/npchandler.h
parent77a5341118e27572c9b9db90d42120c84d204d77 (diff)
downloadmv-d3af59b8eedae98a49367e2ac37f2ab1b79c0557.tar.gz
mv-d3af59b8eedae98a49367e2ac37f2ab1b79c0557.tar.bz2
mv-d3af59b8eedae98a49367e2ac37f2ab1b79c0557.tar.xz
mv-d3af59b8eedae98a49367e2ac37f2ab1b79c0557.zip
remove npc dialog wrapper.
Diffstat (limited to 'src/net/ea/npchandler.h')
-rw-r--r--src/net/ea/npchandler.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h
index c87cb0ce3..9fe07f531 100644
--- a/src/net/ea/npchandler.h
+++ b/src/net/ea/npchandler.h
@@ -66,11 +66,7 @@ class NpcHandler : public Net::NpcHandler
void processNpcStrInput(Net::MessageIn &msg);
protected:
- typedef struct
- {
- NpcDialog* dialog;
- } Wrapper;
- typedef std::map<int, Wrapper> NpcDialogs;
+ typedef std::map<int, NpcDialog*> NpcDialogs;
NpcDialogs mNpcDialogs;
NpcDialog *mDialog;
};