aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-02-27 19:04:33 +1100
committerPaul Gilbert2011-02-27 19:04:33 +1100
commitd50482d92be141c2de84d5c8954214ecca459930 (patch)
tree8da074b6653887157d984472f6098c7fcc4b5558
parent7e595d0b35461c80c62f033ca3cce02319fdf34e (diff)
downloadscummvm-rg350-d50482d92be141c2de84d5c8954214ecca459930.tar.gz
scummvm-rg350-d50482d92be141c2de84d5c8954214ecca459930.tar.bz2
scummvm-rg350-d50482d92be141c2de84d5c8954214ecca459930.zip
TSAGE: Bugfix for correctly setting object frame numbers
-rw-r--r--engines/tsage/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 6379a3853b..964cf28587 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1703,7 +1703,7 @@ void SceneObject::setFrame(int frameNum) {
}
void SceneObject::setFrame2(int frameNum) {
- if (frameNum == -1) {
+ if (frameNum != -1) {
_flags |= OBJFLAG_NO_UPDATES;
setFrame(frameNum);
} else {