*** 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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user