From 88b06650cede1e397e3de7d35cb034847942bf3f Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Fri, 2 Jan 2009 02:36:21 +0000 Subject: [PATCH] don't render clip while stenciling git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4094 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/entities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/entities.cpp b/source/src/entities.cpp index 1c879d73..39ae3e5a 100644 --- a/source/src/entities.cpp +++ b/source/src/entities.cpp @@ -106,7 +106,7 @@ void renderentities() s_sprintfd(path)("pickups/flags/%s", team_string(e.attr2)); rendermodel(path, ANIM_FLAG|ANIM_LOOP, 0, 0, vec(e.x, e.y, (float)S(e.x, e.y)->floor), (float)((e.attr1+7)-(e.attr1+7)%15), 0, 120.0f); } - else if(e.type==CLIP) renderclip(e); + else if(e.type==CLIP && !stenciling) renderclip(e); } } if(m_flags) loopi(2)