about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-15 13:22:43 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-15 13:22:43 +0000
commit7a080b0f002336204ff4471576ba0ad94900606d (patch)
tree8b488a77058e36b2bbcfe89a261e1ae2234172f9
parent22d3ecf90a9f27cb9863890f0614723743cf2707 (diff)
downloadzcatch-7a080b0f002336204ff4471576ba0ad94900606d.tar.gz
zcatch-7a080b0f002336204ff4471576ba0ad94900606d.zip
fixed the snow when the window size is changing
-rw-r--r--src/game/client/gc_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp
index 893fbca8..002406fc 100644
--- a/src/game/client/gc_client.cpp
+++ b/src/game/client/gc_client.cpp
@@ -1687,8 +1687,8 @@ void render_snow()
 	static flake flakes[NUM_FLAKES];
 	static bool init = true;
 	
-	float w = br.x-tl.x;
-	float h = br.y-tl.y;
+	float w = 400*6;
+	float h = 300*6;
 	
 	if(init)
 	{