summaryrefslogtreecommitdiff
path: root/src/spells1.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-05 21:03:18 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:25 +0200
commit46498dfaab2cb0698822397b43039e3ecf605a1e (patch)
treeee758d0906ef96311bdaa4b5f392f9704553ab48 /src/spells1.c
parentc92f7bf932d6e36c1aecd704a2a69d742ef7748d (diff)
Lua: Move geomancy spell effects to C
Diffstat (limited to 'src/spells1.c')
-rw-r--r--src/spells1.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/spells1.c b/src/spells1.c
index e99bbc23..8350a4ff 100644
--- a/src/spells1.c
+++ b/src/spells1.c
@@ -3834,15 +3834,14 @@ static bool_ project_f(int who, int r, int y, int x, int dam, int typ)
case GF_ELEMENTAL_WALL:
{
if ((p_ptr->py != y) || (p_ptr->px != x)) {
- exec_lua(format("geomancy_random_wall(%d,%d);", y, x));
+ geomancy_random_wall(y, x);
}
-
break;
}
case GF_ELEMENTAL_GROWTH:
{
- exec_lua(format("geomancy_random_floor(%d, %d)", y, x));
+ geomancy_random_floor(y, x, FALSE);
break;
}
}