aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-03-19 15:03:20 +1100
committerstrangerke2011-03-21 08:07:14 +0100
commit65fc9a375a23870be5b32dc5550a5728ee576977 (patch)
tree1214ca0295dcc576ab9f0a6df4e10b0015dffddc /engines/tsage
parent5df908a8063f54ef9a8dc060cd241841d5508e8f (diff)
downloadscummvm-rg350-65fc9a375a23870be5b32dc5550a5728ee576977.tar.gz
scummvm-rg350-65fc9a375a23870be5b32dc5550a5728ee576977.tar.bz2
scummvm-rg350-65fc9a375a23870be5b32dc5550a5728ee576977.zip
TSAGE: Replaced some values with proper constants
Diffstat (limited to 'engines/tsage')
-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);
}
}