Skip to content

Commit

Permalink
- fixed: The size parameters for automap sprites are floats, so they …
Browse files Browse the repository at this point in the history
…need the matching tag.
  • Loading branch information
coelckers committed May 25, 2020
1 parent 730f64e commit 3b65b0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/am_map.cpp
Expand Up @@ -3037,8 +3037,8 @@ void DAutomap::DrawMarker (FGameTexture *tex, double x, double y, int yadjust,
rotatePoint (&x, &y);
}
DrawTexture(twod, tex, CXMTOF(x) + f_x, CYMTOF(y) + yadjust + f_y,
DTA_DestWidth, tex->GetDisplayWidth() * CleanXfac * xscale,
DTA_DestHeight, tex->GetDisplayHeight() * CleanYfac * yscale,
DTA_DestWidthF, tex->GetDisplayWidth() * CleanXfac * xscale,
DTA_DestHeightF, tex->GetDisplayHeight() * CleanYfac * yscale,
DTA_ClipTop, f_y,
DTA_ClipBottom, f_y + f_h,
DTA_ClipLeft, f_x,
Expand Down

0 comments on commit 3b65b0c

Please sign in to comment.