summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-12 16:18:47 +0200
committerenneract <trem.redman@gmail.com>2014-07-12 17:06:40 +0200
commit3864f3233c2ce7ccce4ac05a44bed7c200836543 (patch)
treec8c460d32a8a10437e3777d5106a95d837c034e2 /src/cgame
parentfaabf7d64658ae47842b4ccabdb4b68513f3cdf7 (diff)
remedy some code failures
(not sure about the effects)
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c
index 9b1d8d4..9821bbc 100644
--- a/src/cgame/cg_buildable.c
+++ b/src/cgame/cg_buildable.c
@@ -2216,7 +2216,7 @@ void CG_Cuboid_Response(void)
// cb2 <a> <b> <c> : server sets client-side cuboid
// cb3 <echo> : server agrees on player's cuboid
// cb4 <echo> : server disagrees on player's cuboid
- int offs;
+ int offs = 0;
if( !BG_Buildable( cg.predictedPlayerState.stats[ STAT_BUILDABLE ] & ~SB_VALID_TOGGLEBIT, NULL )->cuboid )
return;