diff options
author | Bardur Arantsson <bardur@scientician.net> | 2018-03-25 20:07:31 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2018-03-25 20:07:31 +0200 |
commit | b2e4e8a78cc85a6af67e4af4557b4699f3889874 (patch) | |
tree | 2c5e7d139ac849aaf9d2139e1c96976dcdbd6f05 /src/spells4.cc | |
parent | a140cb693bf84a33bd1751a19ba76b45ed7dea73 (diff) |
Eliminate uses of bool_
Diffstat (limited to 'src/spells4.cc')
-rw-r--r-- | src/spells4.cc | 6 |
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_; |