newDirToOldDir is now a class method of class Scumm)

svn-id: r4405
This commit is contained in:
Max Horn 2002-06-04 23:33:49 +00:00
parent d35eed21f1
commit 7d78096182
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ void AkosRenderer::setCostume(int costume)
void AkosRenderer::setFacing(Actor * a)
{
mirror = (_vm->newDirToOldDir(a->facing) != 0 || akhd->flags & 1);
mirror = (Scumm::newDirToOldDir(a->facing) != 0 || akhd->flags & 1);
if (a->flip)
mirror ^= 1;
}

View File

@ -991,7 +991,7 @@ void CostumeRenderer::setPalette(byte *palette)
void CostumeRenderer::setFacing(uint16 facing)
{
_mirror = _vm->newDirToOldDir(facing) != 0
_mirror = Scumm::newDirToOldDir(facing) != 0
|| (_loaded._ptr[7] & 0x80);
}