From 323cc161059bddf1a03008395c03a93f46603d64 Mon Sep 17 00:00:00 2001 From: Jakob Fries Date: Sat, 28 Jul 2007 17:04:09 +0000 Subject: cloud animation changed --- src/game/client/menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp index 667bc4b2..60c7dfbe 100644 --- a/src/game/client/menu.cpp +++ b/src/game/client/menu.cpp @@ -172,7 +172,7 @@ void draw_background(float t) 0.0f, // starty 1.0f, // endx 1.0f); // endy - gfx_quads_drawTL(3000 - fmod(t * 50 + 1000, 4024), 150, 512, 512); + gfx_quads_drawTL(3000 - fmod(t * 50 + 2000, 4024), 150, 512, 512); gfx_quads_end(); gfx_texture_set(data->images[IMAGE_CLOUD_3].id); @@ -183,7 +183,7 @@ void draw_background(float t) 0.0f, // starty 1.0f, // endx 1.0f); // endy - gfx_quads_drawTL(4000 - fmod(t * 60, 4512), 300, 256, 256); + gfx_quads_drawTL(4000 - fmod(t * 60 + 500, 4512), 300, 256, 256); gfx_quads_end(); gfx_texture_set(data->images[IMAGE_MENU_BACKGROUND].id); -- cgit 1.4.1