mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-14 13:58:01 +00:00
newDirToOldDir is now a class method of class Scumm)
svn-id: r4405
This commit is contained in:
parent
d35eed21f1
commit
7d78096182
2
akos.cpp
2
akos.cpp
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user