Renamed to random_walk since that's what it called. Closes #26.
This commit is contained in:
parent
769530b45c
commit
57d69015c2
3 changed files with 4 additions and 5 deletions
2
map.cpp
2
map.cpp
|
@ -118,7 +118,7 @@ Point Map::center_camera(const Point &around, size_t view_x, size_t view_y) {
|
|||
* drunkenly gradually reaching the player, and dodging
|
||||
* in and out.
|
||||
*/
|
||||
bool Map::neighbors(Point &out, bool random, int direction) {
|
||||
bool Map::random_walk(Point &out, bool random, int direction) {
|
||||
return $paths.random_walk(out, random, direction);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue