about summary refs log tree commit diff
path: root/src/game/client/gc_render_map.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-02-05 19:11:34 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-02-05 19:11:34 +0000
commit91e4c2252b1a07df013cde773d1cead3712bca43 (patch)
tree29af0b7c51da9ef48b0c2d66f779f3b43a755e64 /src/game/client/gc_render_map.cpp
parentda2d792186d53794d25438c157ac039adbb8c1a6 (diff)
downloadzcatch-91e4c2252b1a07df013cde773d1cead3712bca43.tar.gz
zcatch-91e4c2252b1a07df013cde773d1cead3712bca43.zip
added rotate to editor. fixed so that the game handles envelopes
Diffstat (limited to 'src/game/client/gc_render_map.cpp')
-rw-r--r--src/game/client/gc_render_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gc_render_map.cpp b/src/game/client/gc_render_map.cpp
index 4728f771..d5e7f1a0 100644
--- a/src/game/client/gc_render_map.cpp
+++ b/src/game/client/gc_render_map.cpp
@@ -102,7 +102,7 @@ void render_quads(QUAD *quads, int num_quads, void (*eval)(float time_offset, in
 			eval(q->pos_env_offset/1000.0f, q->pos_env, channels);
 			offset_x = channels[0];
 			offset_y = channels[1];
-			rot = channels[2];
+			rot = channels[2]/360.0f*pi*2;
 		}
 		
 		if(q->color_env >= 0)