summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-08 01:39:10 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-08 01:41:16 +0300
commit1319e54e6a7dab30ce2f95b0301964c53afe9e58 (patch)
tree2fa6ed8e3c5ba0f4255d9d89beb2a4941dcfea5d /src/net
parentd27fa21ab9363eb22f5077e085c54332da05899f (diff)
downloadmv-1319e54e6a7dab30ce2f95b0301964c53afe9e58.tar.gz
mv-1319e54e6a7dab30ce2f95b0301964c53afe9e58.tar.bz2
mv-1319e54e6a7dab30ce2f95b0301964c53afe9e58.tar.xz
mv-1319e54e6a7dab30ce2f95b0301964c53afe9e58.zip
Play sound on getting new quest and complete quest.
New items for paths.xml: newQuestSfx and completeQuestSfx.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/questhandler.cpp4
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