mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed: The code drawing the chess pieces for Hexen's finale used floating point paeameters with integer fields for drawing the texture.
SVN r2347 (trunk)
This commit is contained in:
parent
bdd2ebfe14
commit
5535f98218
1 changed files with 4 additions and 4 deletions
|
@ -1322,15 +1322,15 @@ void F_Drawer (void)
|
|||
if (multiplayer)
|
||||
{
|
||||
screen->DrawTexture (TexMan["CHESSALL"], 20, 0,
|
||||
DTA_VirtualWidth, w,
|
||||
DTA_VirtualHeight, h, TAG_DONE);
|
||||
DTA_VirtualWidthF, w,
|
||||
DTA_VirtualHeightF, h, TAG_DONE);
|
||||
}
|
||||
else if (players[consoleplayer].CurrentPlayerClass > 0)
|
||||
{
|
||||
picname = players[consoleplayer].CurrentPlayerClass == 1 ? "CHESSC" : "CHESSM";
|
||||
screen->DrawTexture (TexMan[picname], 60, 0,
|
||||
DTA_VirtualWidth, w,
|
||||
DTA_VirtualHeight, h, TAG_DONE);
|
||||
DTA_VirtualWidthF, w,
|
||||
DTA_VirtualHeightF, h, TAG_DONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue