aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/sprite.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index 2129d1ca6d..506d0fb694 100644
--- a/engines/dreamweb/sprite.cpp
+++ b/engines/dreamweb/sprite.cpp
@@ -565,8 +565,9 @@ void DreamGenContext::showgamereel() {
const Frame *DreamGenContext::getreelframeax(uint16 frame) {
data.word(kCurrentframe) = frame;
+ Frame* source = findsourceCPP();
uint16 offset = data.word(kCurrentframe) - data.word(kTakeoff);
- return findsourceCPP() + offset;
+ return source + offset;
}
void DreamGenContext::showrain() {