mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
fixed a typo that prevented spells from getting added
This commit is contained in:
parent
c7268233df
commit
5412d6ed9e
@ -28,7 +28,7 @@ namespace MWMechanics
|
||||
|
||||
void Spells::add (const std::string& spellId)
|
||||
{
|
||||
if (std::find (mSpells.begin(), mSpells.end(), spellId)!=mSpells.end())
|
||||
if (std::find (mSpells.begin(), mSpells.end(), spellId)==mSpells.end())
|
||||
mSpells.push_back (spellId);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user