Change stampObject opcode to use same method as HE game, in order to draw to background.
svn-id: r14118
This commit is contained in:
parent
8a74791c64
commit
a3b04b047b
1 changed files with 4 additions and 3 deletions
|
@ -2920,10 +2920,11 @@ void ScummEngine_v6::o6_stampObject() {
|
||||||
Actor *a = derefActor(object, "o6_stampObject");
|
Actor *a = derefActor(object, "o6_stampObject");
|
||||||
a->scalex = state;
|
a->scalex = state;
|
||||||
a->scaley = 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();
|
a->drawActorCostume();
|
||||||
// drawActor(object, maskBufferPtr, x_y, scale_x_y);
|
|
||||||
// drawActor(object, mainBufferPtr, x_y, scale_x_y);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue