summaryrefslogtreecommitdiff
path: root/src/refresh/gl/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refresh/gl/world.c')
-rw-r--r--src/refresh/gl/world.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/refresh/gl/world.c b/src/refresh/gl/world.c
index f8e7d70..8c0a1b4 100644
--- a/src/refresh/gl/world.c
+++ b/src/refresh/gl/world.c
@@ -544,6 +544,11 @@ static void GL_WorldNode_r(mnode_t *node, int clipflags)
void GL_DrawWorld(void)
{
+ // auto cycle the world frame for texture animation
+ gl_world.frame = (int)(glr.fd.time * 2);
+
+ glr.ent = &gl_world;
+
GL_MarkLeaves();
#if USE_DLIGHTS