Remove completely mistaken comment from the original code. Textures use

0 to 256 range of texture coordinates, and the width of the texture should
therefore not be used to deduce wrap around point for texture animation.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3719 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2008-02-08 17:58:37 +00:00
parent 05a6223814
commit 54bcf0cde5
1 changed files with 0 additions and 2 deletions

View File

@ -287,8 +287,6 @@ static inline void pie_PiePolyFrame(PIEPOLY *poly, SDWORD frame, const BOOL ligh
if (frame > 0)
{
// HACK - fix this!!!!
// should be: framesPerLine = iV_TEXTEX(texPage)->width / poly->pTexAnim->textureWidth;
const unsigned int framesPerLine = 256 / poly->pTexAnim->textureWidth;
const unsigned int
uFrame = (frame % framesPerLine) * poly->pTexAnim->textureWidth,