Polymer: fix floor sprites with y flipping by removing special-case code.

This fixes the case marked with the silver letter C in test_tileoffsets.map.
The orientation of the sprites is correct (matches classic) as far as I can
see, there are now only problems with translation.

git-svn-id: https://svn.eduke32.com/eduke32@3776 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-05-16 21:54:53 +00:00
parent 99d7f1e964
commit 91523f60b1

View file

@ -3709,10 +3709,6 @@ void polymer_updatesprite(int32_t snum)
bglTranslatef(spos[0], spos[1], spos[2]);
bglRotatef(-ang, 0.0f, 1.0f, 0.0f);
if (tspr->cstat & SPR_YFLIP) {
bglRotatef(-180.0, 0.0f, 0.0f, 1.0f);
flipu = !flipu;
}
bglTranslatef((float)(-xoff), 1.0f, (float)(yoff));
bglScalef((float)(xsize), 1.0f, (float)(ysize));