mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
!(bitfield & FLAG) is a NAND
(bitfield & ~FLAG) is not a NAND Should fix some things colliding with directional windows when moving parallel on the same turf. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5214 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
|
||||
//First, check objects to block exit that are not on the border
|
||||
for(var/obj/obstacle in mover.loc)
|
||||
if((obstacle.flags & ~ON_BORDER) && (mover != obstacle) && (forget != obstacle))
|
||||
if(!(obstacle.flags & ON_BORDER) && (mover != obstacle) && (forget != obstacle))
|
||||
if(!obstacle.CheckExit(mover, src))
|
||||
mover.Bump(obstacle, 1)
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user