Don't let animations block actors with helmets
This commit is contained in:
parent
f54edf8692
commit
2c1d047f4b
@ -63,7 +63,7 @@ export class Tile {
|
|||||||
|
|
||||||
// FIXME bowling ball isn't affected by helmet? also not sure bowling ball is stopped by
|
// FIXME bowling ball isn't affected by helmet? also not sure bowling ball is stopped by
|
||||||
// helmet?
|
// helmet?
|
||||||
if (this.has_item('helmet') || (this.type.is_actor && other.has_item('helmet')))
|
if (this.has_item('helmet') || (this.type.is_actor && ! this.type.ttl && other.has_item('helmet')))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// FIXME get this out of here
|
// FIXME get this out of here
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user