removed unused function get_angle_direction

This commit is contained in:
Mark de Wever 2007-02-16 21:48:09 +00:00
parent 294c479672
commit a28f0720e1
2 changed files with 0 additions and 8 deletions

View file

@ -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;

View file

@ -569,6 +569,4 @@ private:
int fps_handle_;
};
const std::string& get_angle_direction(size_t n);
#endif