Revert "fixed sprite rendering. Closes #834"

This reverts commit 43af1fdb5f.
This commit is contained in:
def 2017-08-31 22:03:33 +02:00
parent 80b04370d5
commit 583421b42d

View file

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