Remove a useless function

This commit is contained in:
2014-12-16 18:20:45 -05:00
parent 6866bf70c5
commit d376d97de9
2 changed files with 0 additions and 9 deletions

View File

@@ -453,18 +453,10 @@ bool outd_is_blocked(location to_check) {
return false;
}
bool special_which_blocks_monst(location to_check) {
if(scenario.ter_types[coord_to_ter(to_check.x,to_check.y)].blockage == eTerObstruct::BLOCK_MONSTERS)
return true;
else return false;
}
// Checks if space is a special that prevents movement into or placement of a PC on
bool is_special(location to_check) {
ter_num_t which_ter;
if(!special_which_blocks_monst(to_check))
return false;
which_ter = coord_to_ter(to_check.x,to_check.y);
if(scenario.ter_types[which_ter].blockage == eTerObstruct::BLOCK_MONSTERS)
return true;

View File

@@ -33,7 +33,6 @@ bool monst_can_see(short m_num,location l);
bool party_can_see_monst(short m_num);
bool can_see_monst(location l,short m_num);
bool outd_is_blocked(location to_check);
bool special_which_blocks_monst(location to_check);
bool is_special(location to_check);
bool outd_is_special(location to_check);
bool impassable(ter_num_t terrain_to_check);