[openjk] 76/130: Remove define

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 f806aef895fc26ddc1168bfb793b65bb3ee4c9fc
Author: bibendovsky <bibendovsky at hotmail.com>
Date:   Mon Aug 29 15:12:07 2016 +0300

    Remove define
---
 code/rd-vanilla/G2_misc.cpp | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/code/rd-vanilla/G2_misc.cpp b/code/rd-vanilla/G2_misc.cpp
index 069b8ab..b1aaad3 100644
--- a/code/rd-vanilla/G2_misc.cpp
+++ b/code/rd-vanilla/G2_misc.cpp
@@ -1770,15 +1770,10 @@ void *G2_FindSurface(const model_s *mod, int index, int lod)
 	return (void *)current;
 }
 
-#if 1
+
 #define SURFACE_SAVE_BLOCK_SIZE	sizeof(surfaceInfo_t)
 #define BOLT_SAVE_BLOCK_SIZE sizeof(boltInfo_t)
 #define BONE_SAVE_BLOCK_SIZE sizeof(boneInfo_t)
-#else
-const auto SURFACE_SAVE_BLOCK_SIZE = static_cast<int>(sizeof(SgSurfaceInfo));
-const auto BOLT_SAVE_BLOCK_SIZE = static_cast<int>(sizeof(SgBoltInfo));
-const auto BONE_SAVE_BLOCK_SIZE = static_cast<int>(sizeof(SgBoneInfo));
-#endif
 
 
 void G2_SaveGhoul2Models(

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