From 5535f98218ea00fe9a035a2e26c83ffa9681a3c5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 30 May 2010 08:00:27 +0000 Subject: [PATCH] - 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) --- src/f_finale.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/f_finale.cpp b/src/f_finale.cpp index b0c806b67..c37d1f459 100644 --- a/src/f_finale.cpp +++ b/src/f_finale.cpp @@ -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); } } }