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:
Kp 2018-05-18 02:47:32 +00:00
parent 784213ec1f
commit f2f41cd60e
3 changed files with 3 additions and 3 deletions

View file

@ -161,7 +161,7 @@ int PlayMovie(const char *subtitles, const char *filename, int must_have)
strcpy(name,filename);
if ((p=strchr(name,'.')) == NULL) //add extension, if missing
strcat(name,".mve");
strcat(name,".MVE");
// Stop all digital sounds currently playing.
digi_stop_digi_sounds();

View file

@ -1366,7 +1366,7 @@ static void DoEndGame()
#if defined(DXX_BUILD_DESCENT_II)
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)
#endif
{

View file

@ -769,7 +769,7 @@ static int briefing_process_char(grs_canvas &canvas, briefing *const br)
#endif
} else {
#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++;
spinRobotName[2]=kludge; // ugly but proud