[iortcw] 118/152: Fix some spacing typos

Simon McVittie smcv at debian.org
Fri Sep 8 10:40:21 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 60d1f381048f8f7cd6400198de2e9fcf7073e52c
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Fri Sep 16 21:24:15 2016 -0400

    Fix some spacing typos
---
 MP/code/rend2/tr_shade.c | 1 +
 SP/code/rend2/tr_shade.c | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/MP/code/rend2/tr_shade.c b/MP/code/rend2/tr_shade.c
index 71807a8..2331560 100644
--- a/MP/code/rend2/tr_shade.c
+++ b/MP/code/rend2/tr_shade.c
@@ -544,6 +544,7 @@ static void ComputeShaderColors( shaderStage_t *pStage, vec4_t baseColor, vec4_t
 			break;
 		case CGEN_FOG:
 			fog = tr.world->fogs + tess.fogNum;
+
 			baseColor[0] = ((unsigned char *)(&fog->colorInt))[0] / 255.0f;
 			baseColor[1] = ((unsigned char *)(&fog->colorInt))[1] / 255.0f;
 			baseColor[2] = ((unsigned char *)(&fog->colorInt))[2] / 255.0f;
diff --git a/SP/code/rend2/tr_shade.c b/SP/code/rend2/tr_shade.c
index 8253f8b..29932b6 100644
--- a/SP/code/rend2/tr_shade.c
+++ b/SP/code/rend2/tr_shade.c
@@ -475,7 +475,8 @@ static void ComputeShaderColors( shaderStage_t *pStage, vec4_t baseColor, vec4_t
 		|| ((blend & GLS_SRCBLEND_BITS) == GLS_SRCBLEND_ONE_MINUS_DST_COLOR)
 		|| ((blend & GLS_DSTBLEND_BITS) == GLS_DSTBLEND_SRC_COLOR)
 		|| ((blend & GLS_DSTBLEND_BITS) == GLS_DSTBLEND_ONE_MINUS_SRC_COLOR);
-qboolean is2DDraw = backEnd.currentEntity == &backEnd.entity2D;
+
+	qboolean is2DDraw = backEnd.currentEntity == &backEnd.entity2D;
 
 	float overbright = (isBlend || is2DDraw) ? 1.0f : (float)(1 << tr.overbrightBits);
 

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