mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
- moved the player sprite away from the edge of the frame.
This commit is contained in:
parent
8b8c6a5e3a
commit
adaf25377c
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ void GameInterface::DrawPlayerSprite(const DVector2& origin, bool onteam)
|
|||
int tile = isRR() ? 3845 + 36 - ((((8 - (mclock >> 4))) & 7) * 5) : 1441 - ((((4 - (mclock >> 4))) & 3) * 5);
|
||||
auto tex = tileGetTexture(tile);
|
||||
if (!tex) return;
|
||||
double x = origin.X + 260, y = origin.Y + tex->GetDisplayHeight() * (isRR()? 0.25 : 0.5);
|
||||
double x = origin.X + 250, y = origin.Y + tex->GetDisplayHeight() * (isRR()? 0.25 : 0.5);
|
||||
double scale = isRR() ? 0.375 : 0.75;
|
||||
|
||||
DrawTexture(twod, tex, x, y, DTA_FullscreenScale, FSMode_Fit320x200, DTA_TranslationIndex, color, DTA_ScaleX, scale, DTA_ScaleY, scale, TAG_DONE);
|
||||
|
|
Loading…
Reference in a new issue