From 7673f3d17a8f3130544ff3f74b4e474c380d348b Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 7 Jan 2005 02:49:15 +0000 Subject: [PATCH] This fixes lightmapped non-warping water on q2 bsps. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@751 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/gl_q2bsp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/common/gl_q2bsp.c b/engine/common/gl_q2bsp.c index 1fd32d226..3869809bf 100644 --- a/engine/common/gl_q2bsp.c +++ b/engine/common/gl_q2bsp.c @@ -1333,6 +1333,10 @@ void CMod_LoadFaces (lump_t *l) { out->flags |= SURF_DRAWSKY; } + if (out->texinfo->flags & SURF_WARP) + { + out->flags |= SURF_DRAWTURB|SURF_DRAWTILED; + } #endif CalcSurfaceExtents (out);