Don't let animations block actors with helmets

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-28 15:03:40 -07:00
parent f54edf8692
commit 2c1d047f4b

View File

@ -63,7 +63,7 @@ export class Tile {
// FIXME bowling ball isn't affected by helmet? also not sure bowling ball is stopped by
// 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;
// FIXME get this out of here