freebsd-ports/games/urban/files/patch-src::sound::sound.cc
Pav Lucistnik 5a6d074e7b Add urban, a bloody, violent sidescrolling shoot-em-up in which you're a
renegade military cyborg fighting your way out of the military base
where you were created.

PR:		ports/61863
Submitted by:	Jean-Yves Lefort <jylefort@brutele.be>
2004-01-25 23:02:00 +00:00

11 lines
387 B
C++

--- src/sound/sound.cc.orig Sun Jan 25 03:58:51 2004
+++ src/sound/sound.cc Sun Jan 25 04:00:00 2004
@@ -90,7 +90,7 @@
md_mode = DMODE_SOFT_SNDFX | DMODE_SOFT_MUSIC | DMODE_16BITS;
md_mixfreq = 22050;
- if(MikMod_Init()) {
+ if(MikMod_Init(NULL)) {
fprintf(stderr,"Could not initialize sound, reason: %s\n",
MikMod_strerror(MikMod_errno));