diff options
author | uruk | 2014-05-24 09:06:22 +0200 |
---|---|---|
committer | uruk | 2014-05-24 09:06:22 +0200 |
commit | 4cf5c28fee6d71277a7ca2bea5663aa12e387a68 (patch) | |
tree | b9b14dff2591eb7384c0204eda14157a2e9f84d3 | |
parent | b82a0fa3e5f36e8b0b47ff129ad18fe93bdac225 (diff) | |
download | scummvm-rg350-4cf5c28fee6d71277a7ca2bea5663aa12e387a68.tar.gz scummvm-rg350-4cf5c28fee6d71277a7ca2bea5663aa12e387a68.tar.bz2 scummvm-rg350-4cf5c28fee6d71277a7ca2bea5663aa12e387a68.zip |
CGE2: Implement snRSeq() and snSeq().
-rw-r--r-- | engines/cge2/snail.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index ad643ac724..edbc78c7ad 100644 --- a/engines/cge2/snail.cpp +++ b/engines/cge2/snail.cpp @@ -342,11 +342,17 @@ void CGE2Engine::snMskDlg(int clr, int set) { } void CGE2Engine::snSeq(Sprite *spr, int val) { - warning("STUB: CGE2Engine::snSeq()"); + if (spr) { + if (isHero(spr) && val == 0) + ((Hero*)spr)->park(); + else + spr->step(val); + } } void CGE2Engine::snRSeq(Sprite *spr, int val) { - warning("STUB: CGE2Engine::snRSeq()"); + if (spr) + snSeq(spr, spr->_seqPtr + val); } void CGE2Engine::snSend(Sprite *spr, int val) { |