summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/message_system.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/message_system.cpp b/src/message_system.cpp index 98b5f83..32ee847 100644 --- a/src/message_system.cpp +++ b/src/message_system.cpp
@@ -236,6 +236,14 @@ void MessageSystem::advanceText() {
236 showNextArrow_ = false; 236 showNextArrow_ = false;
237 237
238 if (lines_.empty()) { 238 if (lines_.empty()) {
239 if (isChoiceActive()) {
240 if (choiceSelection_ == 0) {
241 game_.getMixer().playSound("../res/sfx/left_selection.wav");
242 } else {
243 game_.getMixer().playSound("../res/sfx/right_selection.wav");
244 }
245 }
246
239 linesToShow_.clear(); 247 linesToShow_.clear();
240 } else { 248 } else {
241 game_.getMixer().playSound("../res/sfx/pageflip.wav"); 249 game_.getMixer().playSound("../res/sfx/pageflip.wav");