Get the build fail to actually play and keep the building sound looping until the build is done.
This commit is contained in:
parent
2035a6dd00
commit
95cd84b09d
8 changed files with 8 additions and 9 deletions
2
gui.cpp
2
gui.cpp
|
@ -25,7 +25,7 @@ GUI::GUI() {
|
|||
you_died_sound.load(data, "you_died");
|
||||
build_works_sound.load(data, "build_works");
|
||||
build_failed_sound.load(data, "build_failed");
|
||||
building_sound.load(data, "building");
|
||||
building_sound.load(data, "building", true);
|
||||
}
|
||||
|
||||
void GUI::output(const string msg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue