mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- scale weapons down to the original tile's size.
Needed because hires replacements contain no scaling info.
This commit is contained in:
parent
393b0a1db2
commit
58dcf0586b
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ void hud_drawsprite(double sx, double sy, int z, double a, int picnum, int dasha
|
|||
if (!PickTexture(picnum, nullptr, palid, pick)) return;
|
||||
|
||||
DrawTexture(&twodpsp, pick.texture, sx, sy,
|
||||
DTA_ScaleX, dz, DTA_ScaleY, dz,
|
||||
DTA_ScaleX, dz * tileWidth(picnum) / pick.texture->GetDisplayWidth() , DTA_ScaleY, dz * tileHeight(picnum) / pick.texture->GetDisplayHeight(),
|
||||
DTA_Color, shadeToLight(dashade),
|
||||
DTA_TranslationIndex, pick.translation & 0x7fffffff,
|
||||
DTA_ViewportX, windowxy1.x, DTA_ViewportY, windowxy1.y,
|
||||
|
|
Loading…
Reference in a new issue