[iortcw] 284/497: SP: Fix off by one error message in SP pak checks

Simon McVittie smcv at debian.org
Fri Sep 8 10:37:08 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 ade5c8224777cd08d925fb158dadeafd917908fc
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Wed Jan 28 01:47:25 2015 +0000

    SP: Fix off by one error message in SP pak checks
---
 SP/code/qcommon/files.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SP/code/qcommon/files.c b/SP/code/qcommon/files.c
index 7af950a..02a0862 100644
--- a/SP/code/qcommon/files.c
+++ b/SP/code/qcommon/files.c
@@ -3718,7 +3718,7 @@ static void FS_CheckSPPaks( void )
 							"WARNING: " BASEGAME "/sp_pak%d.pk3 is present but its checksum (%u)\n"
 							"is not correct. Please re-install the point release\n"
 							"**************************************************\n\n\n",
-							pakBasename[6]-'1', curpack->checksum );
+							pakBasename[6]-'0', curpack->checksum );
 				}
 			}
 

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