Fixes bitwise flag negation errors. (#58870)

These have been in the codebase for many years. Love, ZeWaka
This commit is contained in:
ZeWaka
2021-05-04 22:37:56 -07:00
committed by GitHub
parent d3fe5187b0
commit b86aaf3307
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -126,7 +126,7 @@
to_chat(user, "<span class='danger'>Throwing [pushed_mob] onto the table might hurt them!</span>")
return
var/added_passtable = FALSE
if(!pushed_mob.pass_flags & PASSTABLE)
if(!(pushed_mob.pass_flags & PASSTABLE))
added_passtable = TRUE
pushed_mob.pass_flags |= PASSTABLE
pushed_mob.Move(src.loc)