- restored a line of code I accidentally deleted in FTextureManager::AddTexturesForWad.

SVN r910 (trunk)
This commit is contained in:
Christoph Oelckers 2008-04-13 14:27:58 +00:00
commit 5afb2b9aab
2 changed files with 8 additions and 2 deletions

View file

@ -714,11 +714,11 @@ void FMultiPatchTexture::ParsePatch(FScanner &sc, TexPart & part)
sc.MustGetString();
if (sc.Compare("flipx"))
{
part.Mirror = 1;
part.Mirror |= 1;
}
else if (sc.Compare("flipy"))
{
part.Mirror = 2;
part.Mirror |= 2;
}
else if (sc.Compare("rotate"))
{
@ -731,6 +731,11 @@ void FMultiPatchTexture::ParsePatch(FScanner &sc, TexPart & part)
}
}
}
if (part.Mirror & 2)
{
part.Rotate = (part.Rotate + 180) % 360;
part.Mirror &= 1;
}
*/
}