mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-14 16:07:39 +00:00
STARK: Fix the logic for the is anim at time opcode
This commit is contained in:
parent
068ecbd192
commit
87b25fa26f
@ -930,7 +930,7 @@ Command *Command::opIsItemActivity(const ResourceReference &itemRef, int32 value
|
||||
Command *Command::opIsAnimAtTime(const ResourceReference &animRef, int32 time) {
|
||||
Anim *anim = animRef.resolve<Anim>();
|
||||
|
||||
bool condition = anim->isInUse() && anim->isAtTime(time);
|
||||
bool condition = !anim->isInUse() || anim->isAtTime(time);
|
||||
|
||||
return nextCommandIf(condition);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user