diff options
author | Travis Howell | 2004-06-29 10:21:53 +0000 |
---|---|---|
committer | Travis Howell | 2004-06-29 10:21:53 +0000 |
commit | a3b04b047bbcc7e41b72600c504da0da71647e0b (patch) | |
tree | 4fb1df6c0d1015b2f897bf14d7b3764fdaa1e6bc | |
parent | 8a74791c64b470412b8eef89b18d9327d45e5a4e (diff) | |
download | scummvm-rg350-a3b04b047bbcc7e41b72600c504da0da71647e0b.tar.gz scummvm-rg350-a3b04b047bbcc7e41b72600c504da0da71647e0b.tar.bz2 scummvm-rg350-a3b04b047bbcc7e41b72600c504da0da71647e0b.zip |
Change stampObject opcode to use same method as HE game, in order to draw to background.
svn-id: r14118
-rw-r--r-- | scumm/script_v6.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 08cbb0b534..962568665c 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2920,10 +2920,11 @@ void ScummEngine_v6::o6_stampObject() { Actor *a = derefActor(object, "o6_stampObject"); a->scalex = state; a->scaley = state; - a->putActor(x, y, _currentRoom); // TODO + a->putActor(x, y, _currentRoom); + a->actor_draw_to_bg = true; + a->drawActorCostume(); + a->actor_draw_to_bg = false; a->drawActorCostume(); -// drawActor(object, maskBufferPtr, x_y, scale_x_y); -// drawActor(object, mainBufferPtr, x_y, scale_x_y); return; } |