summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-04 02:58:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-04 22:00:41 +0300
commit46106e962bee32271ee644224c5ac525eb32f888 (patch)
treec098cb2aa421bff026e499b35f88b7185e995099 /src/net/ea
parent28e10f7225551b1dc2e1f35b8d4d145db528e4c7 (diff)
downloadmanaverse-46106e962bee32271ee644224c5ac525eb32f888.tar.gz
manaverse-46106e962bee32271ee644224c5ac525eb32f888.tar.bz2
manaverse-46106e962bee32271ee644224c5ac525eb32f888.tar.xz
manaverse-46106e962bee32271ee644224c5ac525eb32f888.zip
Add different effects to npc depend on qests status (evol only)
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/beinghandler.cpp6
1 files changed, 6 insertions, 0 deletions
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;
}