summaryrefslogtreecommitdiff
path: root/src/spells4.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2018-03-25 20:07:31 +0200
committerBardur Arantsson <bardur@scientician.net>2018-03-25 20:07:31 +0200
commitb2e4e8a78cc85a6af67e4af4557b4699f3889874 (patch)
tree2c5e7d139ac849aaf9d2139e1c96976dcdbd6f05 /src/spells4.cc
parenta140cb693bf84a33bd1751a19ba76b45ed7dea73 (diff)
Eliminate uses of bool_
Diffstat (limited to 'src/spells4.cc')
-rw-r--r--src/spells4.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spells4.cc b/src/spells4.cc
index 33b2b24e..c061b86c 100644
--- a/src/spells4.cc
+++ b/src/spells4.cc
@@ -53,7 +53,7 @@ s32b SCHOOL_VARDA;
s32b SCHOOL_WATER;
s32b SCHOOL_YAVANNA;
-static bool_ uses_piety_to_cast(int s)
+static bool uses_piety_to_cast(int s)
{
return spell_type_uses_piety_to_cast(spell_at(s));
}
@@ -147,7 +147,7 @@ int spell_x(int sval, int spell_idx, int i)
}
}
-bool_ school_book_contains_spell(int sval, s32b spell_idx)
+bool school_book_contains_spell(int sval, s32b spell_idx)
{
random_book_setup(sval, spell_idx);
school_book *school_book = school_books_at(sval);
@@ -416,7 +416,7 @@ static std::string spell_school_name(spell_type *spell)
int print_spell(const char *label_, byte color, int y, s32b s)
{
s32b level;
- bool_ na;
+ bool na;
spell_type *spell = spell_at(s);
const char *spell_info = spell_type_info(spell);
const char *label = (label_ == NULL) ? "" : label_;