Kill an old, obsolete and unused function (remove only one footstep)
This commit is contained in:
parent
ec62ad9c4a
commit
c9e457eb44
2 changed files with 0 additions and 11 deletions
|
@ -883,14 +883,6 @@ void game_display::set_route(const paths::route* route)
|
|||
invalidate_route();
|
||||
}
|
||||
|
||||
void game_display::remove_footstep(const gamemap::location& loc)
|
||||
{
|
||||
const std::vector<gamemap::location>::iterator it = std::find(route_.steps.begin(),route_.steps.end(),loc);
|
||||
if(it != route_.steps.end()) {
|
||||
route_.steps.erase(it);
|
||||
}
|
||||
}
|
||||
|
||||
void game_display::float_label(const gamemap::location& loc, const std::string& text,
|
||||
int red, int green, int blue)
|
||||
{
|
||||
|
|
|
@ -90,9 +90,6 @@ public:
|
|||
//! If NULL, no route is displayed. route does not have to remain valid after being set.
|
||||
void set_route(const paths::route* route);
|
||||
|
||||
//! Function to remove a footstep from a specific location
|
||||
void remove_footstep(const gamemap::location& loc);
|
||||
|
||||
//! Function to float a label above a tile
|
||||
void float_label(const gamemap::location& loc, const std::string& text,
|
||||
int red, int green, int blue);
|
||||
|
|
Loading…
Add table
Reference in a new issue