aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cge2/snail.cpp10
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) {