[iortcw] 484/497: SP: Fix loading start and end cutscene autosaves (Broken in 2e3c5fd)

Simon McVittie smcv at debian.org
Fri Sep 8 10:38:02 UTC 2017


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

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 7b8e2c1b93ea9d4069f1c5f568bfc64d38283cb4
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Sat Dec 19 11:17:41 2015 -0500

    SP: Fix loading start and end cutscene autosaves (Broken in 2e3c5fd)
---
 SP/code/game/g_save.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/SP/code/game/g_save.c b/SP/code/game/g_save.c
index f7fa94c..5d29aad 100644
--- a/SP/code/game/g_save.c
+++ b/SP/code/game/g_save.c
@@ -1514,7 +1514,8 @@ void G_LoadGame( char *filename ) {
 	// reset all AAS blocking entities
 	trap_AAS_SetAASBlockingEntity( vec3_origin, vec3_origin, -1 );
 
-	if ( Q_stricmpn( mapstr, "cutscene", 8 ) ) { // Don't read in this stuff for cutscenes
+	// Don't read in this stuff for mid-game cutscenes
+	if ( !( !Q_stricmpn( mapstr, "cutscene6", 9 ) || !Q_stricmpn( mapstr, "cutscene9", 9 ) || !Q_stricmpn( mapstr, "cutscene11", 10 ) || !Q_stricmpn( mapstr, "cutscene14", 10 ) ) ) {
 		// read the entity structures
 		trap_FS_Read( &i, sizeof( i ), f );
 		size = i;

-- 
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