fixed the snow when the window size is changing

This commit is contained in:
Magnus Auvinen 2007-12-15 13:22:43 +00:00
parent 22d3ecf90a
commit 7a080b0f00

View file

@ -1687,8 +1687,8 @@ void render_snow()
static flake flakes[NUM_FLAKES]; static flake flakes[NUM_FLAKES];
static bool init = true; static bool init = true;
float w = br.x-tl.x; float w = 400*6;
float h = br.y-tl.y; float h = 300*6;
if(init) if(init)
{ {