From 65fc9a375a23870be5b32dc5550a5728ee576977 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 19 Mar 2011 15:03:20 +1100 Subject: TSAGE: Replaced some values with proper constants --- engines/tsage/core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/tsage') 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); } } -- cgit v1.2.3