ocarina: Play file after loading

Somewhere along the line I lost the call to play() when a non-library
track is loaded from the harddrive.
This commit is contained in:
Bryan Schumaker 2011-12-30 19:45:27 -05:00
parent a44ecbb795
commit 94a17a32a4
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ static void on_click_open_file(GtkWidget *b, GdkEvent *e, gpointer d)
if (file != "") {
println("Playing file: " + file);
libsaria::audio::load(file);
libsaria::audio::play();
}
}