Fixed bullets traveling diagonally through windows

- Fixes #11465
This commit is contained in:
Loganbacca
2015-12-18 20:12:46 +13:00
parent 9d12076a61
commit 07e81c059c
+1 -1
View File
@@ -140,7 +140,7 @@
return 1
if(is_full_window())
return 0 //full tile window, you can't move into it!
if(get_dir(loc, target) == dir)
if(get_dir(loc, target) & dir)
return !density
else
return 1