From f2f41cd60e7d57a5188f5ea7a35c0c11512bbe61 Mon Sep 17 00:00:00 2001 From: Kp Date: Fri, 18 May 2018 02:47:32 +0000 Subject: [PATCH] Fix capitalization of MVE entries Reported-by: ryusei117 Fixes: 6e439e17fd5da9366f3df3122c14c74a1209b8c3 ("Match case for MVE files in MVL archives") --- d2x-rebirth/main/movie.cpp | 2 +- similar/main/gameseq.cpp | 2 +- similar/main/titles.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/d2x-rebirth/main/movie.cpp b/d2x-rebirth/main/movie.cpp index b7cf6e580..64115f65a 100644 --- a/d2x-rebirth/main/movie.cpp +++ b/d2x-rebirth/main/movie.cpp @@ -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(); diff --git a/similar/main/gameseq.cpp b/similar/main/gameseq.cpp index 83638dbf7..ea9f15239 100644 --- a/similar/main/gameseq.cpp +++ b/similar/main/gameseq.cpp @@ -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 { diff --git a/similar/main/titles.cpp b/similar/main/titles.cpp index d46f8b1dc..82aaa2bd3 100644 --- a/similar/main/titles.cpp +++ b/similar/main/titles.cpp @@ -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