clip rendering fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3188 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-22 10:50:31 +00:00
parent 697fc522b6
commit cc3f3c5f62
+1 -1
View File
@@ -30,7 +30,7 @@ void renderent(entity &e)
void renderclip(entity &e)
{
float radius = max(float(e.attr2), 1.0f);
float radius = max(float(e.attr2), 0.1f);
vec bbmin(e.x - radius, e.y - radius, float(S(e.x, e.y)->floor+e.attr1)),
bbmax(e.x + radius, e.y + radius, bbmin.z + max(float(e.attr3), 1.0f));