removed unused function get_angle_direction
This commit is contained in:
parent
294c479672
commit
a28f0720e1
2 changed files with 0 additions and 8 deletions
|
@ -1692,12 +1692,6 @@ const std::string& get_direction(size_t n)
|
|||
|
||||
}
|
||||
|
||||
const std::string& get_angle_direction(size_t n)
|
||||
{
|
||||
static std::string const dirs[6] = { "-ne", "-e", "-se", "-sw", "-w", "-nw" };
|
||||
return dirs[n >= sizeof(dirs)/sizeof(*dirs) ? 0 : n];
|
||||
}
|
||||
|
||||
std::vector<std::string> display::get_fog_shroud_graphics(const gamemap::location& loc)
|
||||
{
|
||||
std::vector<std::string> res;
|
||||
|
|
|
@ -569,6 +569,4 @@ private:
|
|||
int fps_handle_;
|
||||
};
|
||||
|
||||
const std::string& get_angle_direction(size_t n);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue