about summary refs log tree commit diff
path: root/src/engine/shared/demorec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/shared/demorec.cpp')
-rw-r--r--src/engine/shared/demorec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/shared/demorec.cpp b/src/engine/shared/demorec.cpp
index 48b06e9a..6c2ba07d 100644
--- a/src/engine/shared/demorec.cpp
+++ b/src/engine/shared/demorec.cpp
@@ -335,7 +335,7 @@ void CDemoPlayer::DoTick()
 	static char aDecompressed[CSnapshot::MAX_SIZE];
 	static char aData[CSnapshot::MAX_SIZE];
 	int ChunkType, ChunkTick, ChunkSize;
-	int DataSize;
+	int DataSize = 0;
 	int GotSnapshot = 0;
 
 	// update ticks