some changes for stampObject opcode to be more similiar dissassembly
svn-id: r9098
This commit is contained in:
parent
e25be8327a
commit
25dbf529ab
1 changed files with 9 additions and 6 deletions
|
@ -2787,9 +2787,6 @@ void Scumm_v6::o6_stampObject() {
|
|||
int object, x, y, state;
|
||||
|
||||
state = pop();
|
||||
if (state == 0) {
|
||||
state = 1;
|
||||
}
|
||||
y = pop();
|
||||
x = pop();
|
||||
object = pop();
|
||||
|
@ -2806,10 +2803,16 @@ void Scumm_v6::o6_stampObject() {
|
|||
// drawActor(object, mainBufferPtr, x_y, scale_x_y);
|
||||
return;
|
||||
}
|
||||
|
||||
if (object == 0) {
|
||||
state = 1;
|
||||
}
|
||||
|
||||
warning("o6_stampObject: (%d at (%d,%d) state %d)", object, x, y, state);
|
||||
setObjectState(object, state, x, y);
|
||||
drawObject(getObjectIndex(object), 0);
|
||||
if (x != -1) {
|
||||
setObjectState(object, state, x, y);
|
||||
drawObject(getObjectIndex(object), 0);
|
||||
warning("o6_stampObject: (%d at (%d,%d) state %d)", object, x, y, state);
|
||||
}
|
||||
}
|
||||
|
||||
void Scumm_v6::o6_stopTalking() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue