summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
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;