[openjk] 81/130: SG: Fix variable name

Simon McVittie smcv at debian.org
Fri Oct 28 11:09:21 UTC 2016


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

smcv pushed a commit to branch debian/master
in repository openjk.

commit 0a70a1022479c841e501ce9e4275fcf0c813fe9e
Author: bibendovsky <bibendovsky at hotmail.com>
Date:   Mon Aug 29 20:42:06 2016 +0300

    SG: Fix variable name
---
 shared/qcommon/ojk_saved_game.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/shared/qcommon/ojk_saved_game.cpp b/shared/qcommon/ojk_saved_game.cpp
index 8215a5e..ae62998 100644
--- a/shared/qcommon/ojk_saved_game.cpp
+++ b/shared/qcommon/ojk_saved_game.cpp
@@ -337,7 +337,7 @@ bool SavedGame::read_chunk(
 		(is_compressed ? compressed_size : io_buffer_.size());
 
 #ifdef JK2_MODE
-	ref_chunk_size += sizeof(uiLoadedMagic);
+	ref_chunk_size += sizeof(loaded_magic_value);
 #endif
 
 	if (loaded_chunk_size != ref_chunk_size)
@@ -521,8 +521,8 @@ bool SavedGame::write_chunk(
 
 #ifdef JK2_MODE
 		saved_chunk_size += ::FS_Write(
-			&uiMagic,
-			static_cast<int>(sizeof(uiMagic)),
+			&magic_value,
+			static_cast<int>(sizeof(magic_value)),
 			file_handle_);
 #else
 		saved_chunk_size += ::FS_Write(

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



More information about the Pkg-games-commits mailing list