From 583421b42d28e219d171a500cef1ae81acd5b56e Mon Sep 17 00:00:00 2001 From: def Date: Thu, 31 Aug 2017 22:03:33 +0200 Subject: [PATCH] Revert "fixed sprite rendering. Closes #834" This reverts commit 43af1fdb5f3d1ef346537525d07fe10e0a736070. --- src/game/client/render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/render.cpp b/src/game/client/render.cpp index 429027ae1..12e71deef 100644 --- a/src/game/client/render.cpp +++ b/src/game/client/render.cpp @@ -51,9 +51,9 @@ void CRenderTools::SelectSprite(CDataSprite *pSpr, int Flags, int sx, int sy) gs_SpriteHScale = h/f; float x1 = x/(float)cx; - float x2 = (x+w-1/32.0f)/(float)cx; + float x2 = (x+w)/(float)cx; float y1 = y/(float)cy; - float y2 = (y+h-1/32.0f)/(float)cy; + float y2 = (y+h)/(float)cy; float Temp = 0; if(Flags&SPRITE_FLAG_FLIP_Y)