- 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:
Christoph Oelckers 2010-05-30 08:00:27 +00:00
parent bdd2ebfe14
commit 5535f98218

View file

@ -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);
}
}
}