Changeset 634 for abuse/trunk/src/sdlport/sound.cpp
- Timestamp:
- May 11, 2011, 1:26:07 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/sdlport/sound.cpp
r633 r634 55 55 // Check for the sfx directory, disable sound if we can't find it. 56 56 datadir = get_filename_prefix(); 57 sfxdir = (char *)malloc(strlen(datadir) + 5+ 1);57 sfxdir = (char *)malloc(strlen(datadir) + 17 + 1); 58 58 sprintf(sfxdir, "%s/sfx/ambcave1.wav", datadir); 59 59 FILE *f = fopen(sfxdir, "r");
Note: See TracChangeset
for help on using the changeset viewer.