mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Separate music from sound.kart so it can be added properly
This commit is contained in:
parent
f7b637663c
commit
e6ed15c066
1 changed files with 8 additions and 0 deletions
|
|
@ -877,6 +877,14 @@ static void IdentifyVersion(void)
|
||||||
D_AddFile(musicpath);
|
D_AddFile(musicpath);
|
||||||
else if (ms == 0)
|
else if (ms == 0)
|
||||||
I_Error("File %s has been modified with non-music lumps",musicfile);
|
I_Error("File %s has been modified with non-music lumps",musicfile);
|
||||||
|
|
||||||
|
const char* kmusicfile = "music.kart";
|
||||||
|
const char* kmusicpath = va(pandf,srb2waddir,kmusicfile);
|
||||||
|
ms = W_VerifyNMUSlumps(kmusicpath);
|
||||||
|
if (ms == 1)
|
||||||
|
D_AddFile(kmusicpath);
|
||||||
|
else if (ms == 0)
|
||||||
|
I_Error("File %s has been modified with non-music lumps",kmusicfile);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue