diff options
-rw-r--r-- | res/pageflip.wav | bin | 0 -> 29606 bytes | |||
-rw-r--r-- | src/message_system.cpp | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/res/pageflip.wav b/res/pageflip.wav new file mode 100644 index 0000000..f4b5e5e --- /dev/null +++ b/res/pageflip.wav | |||
Binary files differ | |||
diff --git a/src/message_system.cpp b/src/message_system.cpp index 0b0d53e..67c840e 100644 --- a/src/message_system.cpp +++ b/src/message_system.cpp | |||
@@ -197,6 +197,8 @@ void MessageSystem::advanceText() { | |||
197 | 197 | ||
198 | if (lines_.empty()) { | 198 | if (lines_.empty()) { |
199 | linesToShow_.clear(); | 199 | linesToShow_.clear(); |
200 | } else { | ||
201 | game_.getMixer().playSound("../res/pageflip.wav"); | ||
200 | } | 202 | } |
201 | } | 203 | } |
202 | 204 | ||