diff options
author | Strangerke | 2011-07-23 14:31:39 +0200 |
---|---|---|
committer | Strangerke | 2011-07-23 14:31:39 +0200 |
commit | c728a53148d436cfebb33d58a75f3146980a39e0 (patch) | |
tree | 327b58625f9df0d80aef48d871df7ea1339549d7 /engines/cge/walk.cpp | |
parent | 3ef0558aa933ce20242b3f842c235f792a6d2d32 (diff) | |
download | scummvm-rg350-c728a53148d436cfebb33d58a75f3146980a39e0.tar.gz scummvm-rg350-c728a53148d436cfebb33d58a75f3146980a39e0.tar.bz2 scummvm-rg350-c728a53148d436cfebb33d58a75f3146980a39e0.zip |
CGE: Rename IOMode and SnCom enums
Diffstat (limited to 'engines/cge/walk.cpp')
-rw-r--r-- | engines/cge/walk.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cge/walk.cpp b/engines/cge/walk.cpp index 2568a51df0..f9c542ec92 100644 --- a/engines/cge/walk.cpp +++ b/engines/cge/walk.cpp @@ -136,7 +136,7 @@ void WALK::tick() { else { signed char x; // dummy var _here.split(x, _z); // take current Z position - SNPOST_(SNZTRIM, -1, 0, this); // update Hero's pos in show queue + _snail_->addCom(kSnZTrim, -1, 0, this); // update Hero's pos in show queue } } @@ -233,10 +233,10 @@ void WALK::reach(Sprite *spr, int mode) { } } // note: insert SNAIL commands in reverse order - SNINSERT(SNPAUSE, -1, 64, NULL); - SNINSERT(SNSEQ, -1, kTSeq + mode, this); + _snail->insCom(kSnPause, -1, 64, NULL); + _snail->insCom(kSnSeq, -1, kTSeq + mode, this); if (spr) { - SNINSERT(SNWAIT, -1, -1, _hero); /////--------$$$$$$$ + _snail->insCom(kSnWait, -1, -1, _hero); /////--------$$$$$$$ //SNINSERT(SNWALK, -1, -1, spr); } // sequence is not finished, |