Skip to content

Commit

Permalink
Fixed mid tex upper hack handling in DMU.
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Sep 2, 2006
1 parent cf67a9b commit 6cbd348
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doomsday/engine/portable/src/p_dmu.c
Expand Up @@ -1854,6 +1854,9 @@ static int GetProperty(void* ptr, void* context)
if(p->top.flags & SUF_TEXFIX)
texture = 0;

if(p->flags & SDF_MIDTEXUPPER)
texture = 0;

GetValue(DMT_SURFACE_TEXTURE, &texture, args, 0);
break;
}
Expand Down Expand Up @@ -1888,6 +1891,9 @@ static int GetProperty(void* ptr, void* context)
if(p->middle.flags & SUF_TEXFIX)
texture = 0;

if(p->flags & SDF_MIDTEXUPPER)
texture = p->top.texture;

GetValue(DMT_SURFACE_TEXTURE, &texture, args, 0);
break;
}
Expand Down

0 comments on commit 6cbd348

Please sign in to comment.