diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-08 01:39:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-08 01:41:16 +0300 |
commit | 1319e54e6a7dab30ce2f95b0301964c53afe9e58 (patch) | |
tree | 2fa6ed8e3c5ba0f4255d9d89beb2a4941dcfea5d /src/net/tmwa/questhandler.cpp | |
parent | d27fa21ab9363eb22f5077e085c54332da05899f (diff) | |
download | manaplus-1319e54e6a7dab30ce2f95b0301964c53afe9e58.tar.gz manaplus-1319e54e6a7dab30ce2f95b0301964c53afe9e58.tar.bz2 manaplus-1319e54e6a7dab30ce2f95b0301964c53afe9e58.tar.xz manaplus-1319e54e6a7dab30ce2f95b0301964c53afe9e58.zip |
Play sound on getting new quest and complete quest.
New items for paths.xml:
newQuestSfx and completeQuestSfx.
Diffstat (limited to 'src/net/tmwa/questhandler.cpp')
-rw-r--r-- | src/net/tmwa/questhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp index b3cec9fe2..68ab75806 100644 --- a/src/net/tmwa/questhandler.cpp +++ b/src/net/tmwa/questhandler.cpp @@ -76,7 +76,7 @@ void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED) if (questsWindow) { questsWindow->updateQuest(var, val); - questsWindow->rebuild(); + questsWindow->rebuild(true); } } @@ -91,7 +91,7 @@ void QuestHandler::processPlayerQuests(Net::MessageIn &msg A_UNUSED) questsWindow->updateQuest(var, val); } if (questsWindow) - questsWindow->rebuild(); + questsWindow->rebuild(false); } } // namespace TmwAthena |