diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-09 11:16:40 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-09 11:44:10 +0200 |
commit | 4d4de63ce360e1b4fe6248b6e18ebd48f618d504 (patch) | |
tree | 59120f39245613f1c368242d941ea728b6e45397 /src/spells1.c | |
parent | c81957d766f664bbffc5ec1976a5013f955e0d82 (diff) |
Lua: Clean up handling of Theme GOD_* variables
Diffstat (limited to 'src/spells1.c')
-rw-r--r-- | src/spells1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spells1.c b/src/spells1.c index 8350a4ff..477dfdb9 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -944,7 +944,7 @@ void recall_player(int d, int f) */ static void project_check_gods(int typ) { - if (p_ptr->pgod == get_god_VARDA()) + if (p_ptr->pgod == GOD_VARDA) { if ((typ == GF_LITE) || (typ == GF_LITE_WEAK)) { @@ -953,7 +953,7 @@ static void project_check_gods(int typ) } } - if (p_ptr->pgod == get_god_ULMO()) + if (p_ptr->pgod == GOD_ULMO) { if ((typ == GF_FIRE) || (typ == GF_HELL_FIRE) || |