Fix capitalization of MVE entries
Reported-by: ryusei117 <https://github.com/dxx-rebirth/dxx-rebirth/issues/379#issuecomment-390058146>
Fixes: 6e439e17fd
("Match case for MVE files in MVL archives")
This commit is contained in:
parent
784213ec1f
commit
f2f41cd60e
|
@ -161,7 +161,7 @@ int PlayMovie(const char *subtitles, const char *filename, int must_have)
|
||||||
strcpy(name,filename);
|
strcpy(name,filename);
|
||||||
|
|
||||||
if ((p=strchr(name,'.')) == NULL) //add extension, if missing
|
if ((p=strchr(name,'.')) == NULL) //add extension, if missing
|
||||||
strcat(name,".mve");
|
strcat(name,".MVE");
|
||||||
|
|
||||||
// Stop all digital sounds currently playing.
|
// Stop all digital sounds currently playing.
|
||||||
digi_stop_digi_sounds();
|
digi_stop_digi_sounds();
|
||||||
|
|
|
@ -1366,7 +1366,7 @@ static void DoEndGame()
|
||||||
#if defined(DXX_BUILD_DESCENT_II)
|
#if defined(DXX_BUILD_DESCENT_II)
|
||||||
int played=MOVIE_NOT_PLAYED; //default is not played
|
int played=MOVIE_NOT_PLAYED; //default is not played
|
||||||
|
|
||||||
played = PlayMovie(ENDMOVIE ".tex", ENDMOVIE,MOVIE_REQUIRED);
|
played = PlayMovie(ENDMOVIE ".tex", ENDMOVIE ".mve",MOVIE_REQUIRED);
|
||||||
if (!played)
|
if (!played)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
|
@ -769,7 +769,7 @@ static int briefing_process_char(grs_canvas &canvas, briefing *const br)
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
#if defined(DXX_BUILD_DESCENT_II)
|
#if defined(DXX_BUILD_DESCENT_II)
|
||||||
char spinRobotName[]="rba.mve",kludge; // matt don't change this!
|
char spinRobotName[]="RBA.MVE", kludge; // matt don't change this!
|
||||||
|
|
||||||
kludge=*br->message++;
|
kludge=*br->message++;
|
||||||
spinRobotName[2]=kludge; // ugly but proud
|
spinRobotName[2]=kludge; // ugly but proud
|
||||||
|
|
Loading…
Reference in a new issue