blob: 18024606705b83af1585f12b063fd6aa28ce8302 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- main.c.orig Fri Dec 10 01:59:09 1999
+++ main.c Sat Dec 23 13:37:46 2000
@@ -54,6 +54,10 @@
CUBE cube;
int i;
int rand=1;
+ char full_module_file[4096];
+ char *module_file = "module.xm";
+ strcpy(full_module_file, MODULE_PATH "/");
+ strcat(full_module_file, module_file);
the_screen=&screen.buffer[0];
d.buffer=screen.buffer;
@@ -81,7 +85,7 @@
}
if (do_init_sound)
- if (rubick_init_sound(&sound, "module.xm")==-1) {
+ if (rubick_init_sound(&sound, full_module_file)==-1) {
fprintf(stderr, "Error with initing the sound, sorry pal, no sound no game.\n(I fucked my head with"
" an xm player, this is not for nothing !)\n");
return 0;
|