mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- Fixed: The automap was too aggressive about hiding markers.
SVN r2628 (trunk)
This commit is contained in:
parent
a3c8e0c042
commit
f9691a24ff
1 changed files with 8 additions and 12 deletions
|
@ -2290,21 +2290,17 @@ void AM_drawAuthorMarkers ()
|
|||
AActor *marked = mark->args[0] == 0 ? mark : it.Next();
|
||||
|
||||
while (marked != NULL)
|
||||
{
|
||||
if (mark->args[1] == 0 || (mark->args[1] == 1))
|
||||
{
|
||||
// Use more correct info if we have GL nodes available
|
||||
INTBOOL drawn = hasglnodes?
|
||||
if (mark->args[1] == 0 ||
|
||||
(mark->args[1] == 1 && (hasglnodes ?
|
||||
marked->subsector->flags & SSECF_DRAWN :
|
||||
marked->Sector->MoreFlags & SECF_DRAWN;
|
||||
|
||||
if (drawn)
|
||||
marked->Sector->MoreFlags & SECF_DRAWN)))
|
||||
{
|
||||
DrawMarker (tex, marked->x >> FRACTOMAPBITS, marked->y >> FRACTOMAPBITS, 0,
|
||||
flip, mark->scaleX, mark->scaleY, mark->Translation,
|
||||
mark->alpha, mark->fillcolor, mark->RenderStyle);
|
||||
}
|
||||
}
|
||||
marked = mark->args[0] != 0 ? it.Next() : NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue