aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/sequence2.cpp
diff options
context:
space:
mode:
authorStrangerke2013-09-13 21:30:03 +0200
committerStrangerke2013-09-13 21:30:03 +0200
commit82e76e7b5391ae87dc44d7986b2dfd40c53c3fc8 (patch)
treee7f0f4dbf2391eb6ce8a0468961fb7dcfc66d6c3 /engines/avalanche/sequence2.cpp
parent44ff5eeafb14b85f89d9d2d234af7a19a20d997b (diff)
downloadscummvm-rg350-82e76e7b5391ae87dc44d7986b2dfd40c53c3fc8.tar.gz
scummvm-rg350-82e76e7b5391ae87dc44d7986b2dfd40c53c3fc8.tar.bz2
scummvm-rg350-82e76e7b5391ae87dc44d7986b2dfd40c53c3fc8.zip
AVALANCHE: Remove DNA structure which was essentially a savegame structure unused in ScummVM
Diffstat (limited to 'engines/avalanche/sequence2.cpp')
-rw-r--r--engines/avalanche/sequence2.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/avalanche/sequence2.cpp b/engines/avalanche/sequence2.cpp
index b5eb6a4d15..22ee7fc0e4 100644
--- a/engines/avalanche/sequence2.cpp
+++ b/engines/avalanche/sequence2.cpp
@@ -64,8 +64,8 @@ void Sequence::thenShow(byte what) {
void Sequence::thenFlip(byte where, byte ped) {
thenShow(kNowFlip);
- _vm->_gyro->_dna._flipToWhere = where;
- _vm->_gyro->_dna._flipToPed = ped;
+ _vm->_gyro->_flipToWhere = where;
+ _vm->_gyro->_flipToPed = ped;
}
void Sequence::startToClose() {
@@ -74,7 +74,7 @@ void Sequence::startToClose() {
}
void Sequence::startToOpen() {
- _vm->_gyro->_dna._userMovesAvvy = false; // They can't move.
+ _vm->_gyro->_userMovesAvvy = false; // They can't move.
_vm->_animation->stopWalking(); // And they're not moving now.
startToClose(); // Apart from that, it's the same thing.
}
@@ -89,8 +89,8 @@ void Sequence::callSequencer() {
return; // No more routines.
break;
case 177: // Flip room.
- _vm->_gyro->_dna._userMovesAvvy = true;
- _vm->_animation->flipRoom(_vm->_gyro->_dna._flipToWhere, _vm->_gyro->_dna._flipToPed);
+ _vm->_gyro->_userMovesAvvy = true;
+ _vm->_animation->flipRoom(_vm->_gyro->_flipToWhere, _vm->_gyro->_flipToPed);
if (_seq[0] == 177)
shoveLeft();
break;