From 46106e962bee32271ee644224c5ac525eb32f888 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 Mar 2013 02:58:12 +0300 Subject: Add different effects to npc depend on qests status (evol only) --- src/net/ea/beinghandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 2dc2c619c..45645af31 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -41,6 +41,7 @@ #include "gui/outfitwindow.h" #include "gui/socialwindow.h" #include "gui/killstats.h" +#include "gui/questswindow.h" #include "utils/gettext.h" @@ -95,6 +96,11 @@ Being *BeingHandler::createBeing(int id, short job) if (socialWindow) socialWindow->updateActiveList(); } + if (type == Being::NPC) + { + if (questsWindow) + questsWindow->addEffect(being); + } return being; } -- cgit v1.2.3-70-g09d2