diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-05 21:03:18 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 15:28:25 +0200 |
commit | 46498dfaab2cb0698822397b43039e3ecf605a1e (patch) | |
tree | ee758d0906ef96311bdaa4b5f392f9704553ab48 /src/spells1.c | |
parent | c92f7bf932d6e36c1aecd704a2a69d742ef7748d (diff) |
Lua: Move geomancy spell effects to C
Diffstat (limited to 'src/spells1.c')
-rw-r--r-- | src/spells1.c | 5 |
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; } } |