summaryrefslogtreecommitdiff
path: root/src/spells1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commitd52879d4ed58423e1e9ccc7f5dc34d237a295527 (patch)
tree50adeff497e50e54658fc24f39461b2e3ba160f7 /src/spells1.cc
parente569b328d76c7437018eb11efcc0aa10bbd91de6 (diff)
Use 'bool' in random_spell struct
Diffstat (limited to 'src/spells1.cc')
-rw-r--r--src/spells1.cc2
1 files changed, 1 insertions, 1 deletions
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;