aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/sequence.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/sequence.h')
-rw-r--r--engines/mads/sequence.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/mads/sequence.h b/engines/mads/sequence.h
index 8abef5c3e1..bb084cc0f1 100644
--- a/engines/mads/sequence.h
+++ b/engines/mads/sequence.h
@@ -126,7 +126,12 @@ public:
void setScale(int spriteIdx, int scale);
void setMsgLayout(int seqIndex);
void setDone(int seqIndex);
- void setMotion(int seqIndex, int flags, int deltaX, int deltaY) { warning("TODO: setMotion()"); }
+ void setMotion(int seqIndex, int flags, int deltaX, int deltaY) {
+ warning("TODO: setMotion()");
+ // HACK: Just offset by the delta for now
+ _entries[seqIndex]._msgPos.x += deltaX;
+ _entries[seqIndex]._msgPos.y += deltaY;
+ }
};
} // End of namespace MADS