From 0b7de38dc1969fa2cee4337d0071b97071cceaae Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 24 Sep 2013 08:15:28 +0200 Subject: AVALANCHE: Use Room enum instead of byte in misc place --- engines/avalanche/sequence.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/avalanche/sequence.cpp') diff --git a/engines/avalanche/sequence.cpp b/engines/avalanche/sequence.cpp index 53e43b5abe..0d26cbb677 100644 --- a/engines/avalanche/sequence.cpp +++ b/engines/avalanche/sequence.cpp @@ -57,7 +57,7 @@ void Sequence::thenShow(byte what) { } } -void Sequence::thenFlip(byte where, byte ped) { +void Sequence::thenFlip(Room where, byte ped) { thenShow(kNowFlip); _vm->_avalot->_flipToWhere = where; @@ -90,7 +90,7 @@ void Sequence::callSequencer() { break; case 177: // Flip room. _vm->_avalot->_userMovesAvvy = true; - _vm->_animation->flipRoom(_vm->_avalot->_flipToWhere, _vm->_avalot->_flipToPed); + _vm->_avalot->flipRoom(_vm->_avalot->_flipToWhere, _vm->_avalot->_flipToPed); if (curSeq == 177) shoveLeft(); break; -- cgit v1.2.3