diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-07-15 18:57:44 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-07-15 18:57:44 +0000 |
commit | 2e4e5d61f21ce44386a96c83ad07444bf337ce21 (patch) | |
tree | dc13798549e5b19f1b0a03a8cb0231c3eda0fb54 /src/game.c | |
parent | 62838fb8a4d27654998b6b304d1c485e497bfa4c (diff) |
Don't crash if audio can't be used
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@135 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -264,8 +264,6 @@ Game *game_new(int width, int height, GameOptions gameopts) { g->audio = audio_setup(gameopts.audio_debug, gameopts.no_music); if ( g->audio == NULL ) { fprintf(stderr, "Couldn't initialise audio\n"); - free(g); - return NULL; } /* Load models */ |