engine/maps/tiles/source/ColdTileDamageProcessor.cpp
// Glass shatters under magical cold.

Glass shatters under magical cold.
Glass shatters under magical cold .
bool ColdTileDamageProcessor::affects_item(ItemPtr item)
{
  bool aff = false;
  if (item != nullptr)
  {
    aff = (item->get_material_type() == MaterialType::MATERIAL_TYPE_GLASS);
  }
  return aff;
}
bool ColdTileDamageProcessor :: affects_item ( ItemPtr item ) { bool aff = false ; if ( item != nullptr ) { aff = ( item -> get_material_type ( ) == MaterialType :: MATERIAL_TYPE_GLASS ) ; } return aff ; }
Glass shatters under magical cold.
Glass shatters under magical cold .