summaryrefslogtreecommitdiff
path: root/src/game-server/quest.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-30 10:18:30 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-30 10:18:30 +0000
commit5af1c90d2f86e10de74285d89ee975bd959a6556 (patch)
tree1bd1fdcfcb8f4046f2e8882cab295de70a3561f7 /src/game-server/quest.cpp
parenteb905a28219dc7af2669b8b0db8415c3e8c4ab23 (diff)
downloadmanaserv-5af1c90d2f86e10de74285d89ee975bd959a6556.tar.gz
manaserv-5af1c90d2f86e10de74285d89ee975bd959a6556.tar.bz2
manaserv-5af1c90d2f86e10de74285d89ee975bd959a6556.tar.xz
manaserv-5af1c90d2f86e10de74285d89ee975bd959a6556.zip
Fixed compile error by reverting to old constructor syntax.
Diffstat (limited to 'src/game-server/quest.cpp')
-rw-r--r--src/game-server/quest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/quest.cpp b/src/game-server/quest.cpp
index 18e7f178..4b93407f 100644
--- a/src/game-server/quest.cpp
+++ b/src/game-server/quest.cpp
@@ -110,7 +110,7 @@ struct QuestDeathListener: EventDispatch
};
static QuestDeathListener questDeathDummy;
-static EventListener questDeathListener = { &questDeathDummy };
+static EventListener questDeathListener(&questDeathDummy);
void recoverQuestVar(Character *ch, std::string const &name,
QuestCallback const &f)