overwrite anchored textures where we actually touch their anchor

develop
Myk Taylor 2023-01-01 00:45:14 -08:00
parent a6294c24fb
commit aa091ed37e
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

@ -150,6 +150,7 @@ static bool doSetTile_default(const Pen &pen, int x, int y, bool map)
*screen = 0; *screen = 0;
*texpos = 0; *texpos = 0;
*texpos_lower = 0; *texpos_lower = 0;
gps->screentexpos_anchored[index] = 0;
// keep SCREENTEXPOS_FLAG_ANCHOR_SUBORDINATE so occluded anchored textures // keep SCREENTEXPOS_FLAG_ANCHOR_SUBORDINATE so occluded anchored textures
// don't appear corrupted // don't appear corrupted
*flag &= 4; *flag &= 4;
@ -163,6 +164,7 @@ static bool doSetTile_default(const Pen &pen, int x, int y, bool map)
*screen = 0; *screen = 0;
*texpos = 0; *texpos = 0;
*texpos_lower = 0; *texpos_lower = 0;
gps->screentexpos_top_anchored[index] = 0;
*flag &= 4; // keep SCREENTEXPOS_FLAG_ANCHOR_SUBORDINATE *flag &= 4; // keep SCREENTEXPOS_FLAG_ANCHOR_SUBORDINATE
} }