mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 08:36:43 +00:00
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)
|
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);
|
mSpells.push_back (spellId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue