summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)