[iortcw] 74/152: All: Prevent CL_RunCinematic from reading cinTable[-1]

Simon McVittie smcv at debian.org
Fri Sep 8 10:40:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.5a
in repository iortcw.

commit 7fc9d1bbeac2547efbcee95f0cd0a20cc24f263f
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Sat Jun 18 16:24:41 2016 -0400

    All: Prevent CL_RunCinematic from reading cinTable[-1]
---
 MP/code/client/cl_cin.c | 1 +
 SP/code/client/cl_cin.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/MP/code/client/cl_cin.c b/MP/code/client/cl_cin.c
index 69c318d..9b97ac0 100644
--- a/MP/code/client/cl_cin.c
+++ b/MP/code/client/cl_cin.c
@@ -1437,6 +1437,7 @@ e_status CIN_RunCinematic( int handle ) {
 			RoQReset();
 		} else {
 			RoQShutdown();
+			return FMV_EOF;
 		}
 	}
 
diff --git a/SP/code/client/cl_cin.c b/SP/code/client/cl_cin.c
index eb77358..2c8b6a8 100644
--- a/SP/code/client/cl_cin.c
+++ b/SP/code/client/cl_cin.c
@@ -1467,6 +1467,7 @@ e_status CIN_RunCinematic( int handle ) {
 			RoQReset();
 		} else {
 			RoQShutdown();
+			return FMV_EOF;
 		}
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list