forked from mirror/openmw-tes3mp
Add 'const' to a spell helper function.
This commit is contained in:
parent
a5049fd7b0
commit
da9d858201
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ namespace MWMechanics
|
|||
|
||||
TIterator end() const;
|
||||
|
||||
bool hasSpell(const std::string& spell) { return mSpells.find(Misc::StringUtils::lowerCase(spell)) != mSpells.end(); }
|
||||
bool hasSpell(const std::string& spell) const { return mSpells.find(Misc::StringUtils::lowerCase(spell)) != mSpells.end(); }
|
||||
|
||||
void add (const std::string& spell);
|
||||
///< Adding a spell that is already listed in *this is a no-op.
|
||||
|
|
Loading…
Reference in a new issue