summaryrefslogtreecommitdiffstats
path: root/nyan.c
diff options
context:
space:
mode:
Diffstat (limited to 'nyan.c')
-rw-r--r--nyan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nyan.c b/nyan.c
index 7d62eea..f6b06d3 100644
--- a/nyan.c
+++ b/nyan.c
@@ -395,10 +395,10 @@ load_image( const char* path ) {
static void
load_music(void) {
music = Mix_LoadMUS("res/nyan.ogg");
- if (!music) {
+ if (!music)
music = Mix_LoadMUS("/usr/share/nyancat/nyan.ogg");
+ if (!music)
printf("Unable to load Ogg file: %s\n", Mix_GetError());
- }
}
static void