summaryrefslogtreecommitdiff
path: root/src/lua_bind.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-23 17:57:57 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 18:06:14 +0100
commite5e7e636707a269b11bb4782b62073bc7a8d6193 (patch)
treecb7ef62e577c749dcbfe9e49eda9a113f1095d82 /src/lua_bind.cc
parent656ed9d951464e37ae58948dabb5e94ff39e5e1c (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.cc15
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
*/