forked from teamnwah/openmw-tes3coop
fixed a typo that prevented spells from getting added
This commit is contained in:
parent
c7268233df
commit
5412d6ed9e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue