Merge pull request #2489 from CHOMPStationBot/upstream-merge-10996

[MIRROR] Fix bitwise ops broken in caee8d45
This commit is contained in:
Nadyr
2021-07-10 02:35:57 -04:00
committed by GitHub

View File

@@ -255,7 +255,7 @@ Proc for attack log creation, because really why not
if(exclusive & TASK_USER_EXCLUSIVE)
user.status_flags |= DOING_TASK
if(target && exclusive & TASK_TARGET_EXCLUSIVE)
if(target && (exclusive & TASK_TARGET_EXCLUSIVE))
target.flags |= IS_BUSY
. = TRUE
@@ -296,7 +296,7 @@ Proc for attack log creation, because really why not
if(exclusive & TASK_USER_EXCLUSIVE)
user.status_flags &= ~DOING_TASK
if(target & exclusive & TASK_TARGET_EXCLUSIVE)
if(target && (exclusive & TASK_TARGET_EXCLUSIVE))
target.flags &= ~IS_BUSY
if(progbar)