mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
Opcode change to load/save screen in original loom
svn-id: r9912
This commit is contained in:
parent
a917313307
commit
ae183c8c8c
@ -1019,9 +1019,16 @@ void Scumm_v5::o5_getActorY() {
|
||||
|
||||
void Scumm_v5::o5_getAnimCounter() {
|
||||
getResultPos();
|
||||
int act = getVarOrDirectByte(0x80);
|
||||
Actor *a = derefActor(act, "o5_getAnimCounter");
|
||||
setResult(a->cost.animCounter);
|
||||
// Loom uses this opcode in its load/save screen.
|
||||
if (_gameId == GID_LOOM) {
|
||||
byte a = getVarOrDirectByte(0x80);
|
||||
warning("TODO: Loom saveLoad(%d)", a);
|
||||
setResult(0);
|
||||
} else {
|
||||
int act = getVarOrDirectByte(0x80);
|
||||
Actor *a = derefActor(act, "o5_getAnimCounter");
|
||||
setResult(a->cost.animCounter);
|
||||
}
|
||||
}
|
||||
|
||||
void Scumm_v5::o5_getClosestObjActor() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user