summaryrefslogtreecommitdiff
path: root/src/spells1.c
diff options
context:
space:
mode:
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;
}
}