From 8f474b9cb4181e0ab57f5eb8e39ed9d96397ea67 Mon Sep 17 00:00:00 2001 From: Stephen Saunders Date: Thu, 3 Mar 2022 11:59:32 -0500 Subject: [PATCH] Tiny fix for printing RoQ cinematic filename --- neo/renderer/Cinematic.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neo/renderer/Cinematic.cpp b/neo/renderer/Cinematic.cpp index 2f5fa368..d15426c9 100644 --- a/neo/renderer/Cinematic.cpp +++ b/neo/renderer/Cinematic.cpp @@ -1017,6 +1017,7 @@ bool idCinematicLocal::InitFromFile( const char* qpath, bool amilooping ) } // Carl: The rest of this function is for original Doom 3 RoQ files: isRoQ = true; + fileName = temp; ROQSize = iFile->Length(); looping = amilooping; @@ -1042,7 +1043,7 @@ bool idCinematicLocal::InitFromFile( const char* qpath, bool amilooping ) RoQ_init(); status = FMV_PLAY; ImageForTime( 0 ); - common->Printf( "Loaded RoQ file: '%s', looping=%d, %dx%d, %3.2f FPS\n", qpath, looping, CIN_WIDTH, CIN_HEIGHT, frameRate ); + common->Printf( "Loaded RoQ file: '%s', looping=%d, %dx%d, %3.2f FPS\n", fileName.c_str(), looping, CIN_WIDTH, CIN_HEIGHT, frameRate ); status = ( looping ) ? FMV_PLAY : FMV_IDLE; return true; }