diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-04 02:58:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-04 22:00:41 +0300 |
commit | 46106e962bee32271ee644224c5ac525eb32f888 (patch) | |
tree | c098cb2aa421bff026e499b35f88b7185e995099 /src/net/ea/beinghandler.cpp | |
parent | 28e10f7225551b1dc2e1f35b8d4d145db528e4c7 (diff) | |
download | manaplus-46106e962bee32271ee644224c5ac525eb32f888.tar.gz manaplus-46106e962bee32271ee644224c5ac525eb32f888.tar.bz2 manaplus-46106e962bee32271ee644224c5ac525eb32f888.tar.xz manaplus-46106e962bee32271ee644224c5ac525eb32f888.zip |
Add different effects to npc depend on qests status (evol only)
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 6 |
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; } |