diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 17:57:57 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 18:06:14 +0100 |
commit | e5e7e636707a269b11bb4782b62073bc7a8d6193 (patch) | |
tree | cb7ef62e577c749dcbfe9e49eda9a113f1095d82 /src/lua_bind.cc | |
parent | 656ed9d951464e37ae58948dabb5e94ff39e5e1c (diff) |
Move find_position() to spells3.cc
Said file is the only place it's currently used.
Diffstat (limited to 'src/lua_bind.cc')
-rw-r--r-- | src/lua_bind.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/lua_bind.cc b/src/lua_bind.cc index f5758415..d50a37d4 100644 --- a/src/lua_bind.cc +++ b/src/lua_bind.cc @@ -18,21 +18,6 @@ #include "range.h" /* - * Monsters - */ - -void find_position(int y, int x, int *yy, int *xx) -{ - int attempts = 500; - - do - { - scatter(yy, xx, y, x, 6); - } - while (!(in_bounds(*yy, *xx) && cave_floor_bold(*yy, *xx)) && --attempts); -} - -/* * Misc */ |