*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@943 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-07 08:11:34 +00:00
parent 03ef2b2a77
commit ca3262022e
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -516,9 +516,9 @@ VAR(mtwater, 0, 1, 1);
int renderwater(float hf, GLuint reflecttex, GLuint refracttex)
{
if(wx1<0) return nquads;
wx1 &= ~(watersubdiv-1);
wy1 &= ~(watersubdiv-1);
wx1 -= wx1%watersubdiv;
wy1 -= wy1%watersubdiv;
float t = lastmillis/300.0f;
+1 -1
View File
@@ -115,7 +115,7 @@ void rendermodel(char *mdl, int anim, int tex, float rad, float x, float y, floa
light.y = s->g/ll+of;
light.z = s->b/ll+of;
if(dynshadow && m->hasshadows() && !reflecting)
if(dynshadow && m->hasshadows() && (!reflecting || refracting))
{
vec center(x, z, s->floor);
if(s->type==FHF) center.z -= s->vdelta/4.0f;