remove unused, hard-coded lava check from scenedit

This commit is contained in:
2025-06-12 11:17:30 -05:00
parent 07b6044d36
commit 7d8738904a
2 changed files with 0 additions and 7 deletions

View File

@@ -3197,12 +3197,6 @@ bool save_check(std::string which_dlog, bool allow_no) {
return true;
}
bool is_lava(short x,short y) {
if((coord_to_ter(x,y) == 75) || (coord_to_ter(x,y) == 76))
return true;
else return false;
}
ter_num_t coord_to_ter(short x,short y) {
if(!get_current_area()->is_on_map(loc(x,y))) return 0;
return get_current_area()->terrain(x,y);

View File

@@ -28,7 +28,6 @@ void set_town_entrance(location l, long town_num);
void set_terrain(location l,ter_num_t terrain_type,stroke_ter_changes_t& stroke_changes,bool handle_special=true);
void adjust_space(location l,stroke_ter_changes_t& stroke_changes);
void commit_stroke();
bool is_lava(short x,short y);
ter_num_t coord_to_ter(short x,short y);
bool place_item(location spot_hit,short which_item,bool property,bool always,short odds,item_changes_t& items_placed);
void place_items_in_town();