summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd7.cc2
-rw-r--r--src/random_spell.hpp2
-rw-r--r--src/spells1.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd7.cc b/src/cmd7.cc
index aaec34b7..2d9ae191 100644
--- a/src/cmd7.cc
+++ b/src/cmd7.cc
@@ -1608,7 +1608,7 @@ void do_cmd_powermage(void)
p_ptr->csp -= s_ptr->mana;
- s_ptr->untried = FALSE;
+ s_ptr->untried = false;
proj_flags = s_ptr->proj_flags;
/* Hack -- Spell needs a target */
diff --git a/src/random_spell.hpp b/src/random_spell.hpp
index 01b5ba5e..2c814c9f 100644
--- a/src/random_spell.hpp
+++ b/src/random_spell.hpp
@@ -17,5 +17,5 @@ struct random_spell
byte dam_sides;
byte dam_dice;
byte level; /* Level needed */
- bool_ untried; /* Is the spell was tried? */
+ bool untried; /* Is the spell was tried? */
};
diff --git a/src/spells1.cc b/src/spells1.cc
index 7cedf83b..1fe14c5a 100644
--- a/src/spells1.cc
+++ b/src/spells1.cc
@@ -8953,7 +8953,7 @@ void generate_spell(int plev)
rspell->level = plev;
rspell->mana = mana;
- rspell->untried = TRUE;
+ rspell->untried = true;
/* Spells are always maximally destructive. */
rspell->proj_flags = PROJECT_KILL | PROJECT_ITEM | PROJECT_GRID;