1
0
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:
scrawl 2012-05-29 10:47:48 +02:00
parent c7268233df
commit 5412d6ed9e

View File

@ -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);
}