aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tsage/core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 7749e89580..503dd54103 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1732,9 +1732,9 @@ void SceneObject::setPriority(int priority) {
void SceneObject::setPriority2(int priority) {
if (priority == -1) {
- _flags &= ~1;
+ _flags &= ~OBJFLAG_FIXED_PRIORITY;
} else {
- _flags |= 1;
+ _flags |= OBJFLAG_FIXED_PRIORITY;
setPriority(priority);
}
}