Merge pull request #7263 from mwerezak/hydrotray

Fixes atoms with no flags set being walkable
This commit is contained in:
PsiOmegaDelta
2014-12-07 22:06:10 +01:00

View File

@@ -86,7 +86,7 @@
//Finally, check objects/mobs to block entry that are not on the border //Finally, check objects/mobs to block entry that are not on the border
for(var/atom/movable/obstacle in src) for(var/atom/movable/obstacle in src)
if(obstacle.flags & ~ON_BORDER) if(!(obstacle.flags & ON_BORDER))
if(!obstacle.CanPass(mover, mover.loc, 1, 0) && (forget != obstacle)) if(!obstacle.CanPass(mover, mover.loc, 1, 0) && (forget != obstacle))
mover.Bump(obstacle, 1) mover.Bump(obstacle, 1)
return 0 return 0