diff --git a/src/scenedit/scen.actions.cpp b/src/scenedit/scen.actions.cpp index bb453ec6..a83757e3 100644 --- a/src/scenedit/scen.actions.cpp +++ b/src/scenedit/scen.actions.cpp @@ -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); diff --git a/src/scenedit/scen.actions.hpp b/src/scenedit/scen.actions.hpp index 4b6ed8c5..af22cbca 100644 --- a/src/scenedit/scen.actions.hpp +++ b/src/scenedit/scen.actions.hpp @@ -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();