mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 11:09:40 +00:00
[Client] Fix loop in ActiveSpells::getEffectDuration()
This commit is contained in:
parent
e84f85863e
commit
abc4090a0f
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ namespace MWMechanics
|
|||
if (sourceId.compare(it->first) == 0)
|
||||
{
|
||||
for (std::vector<ActiveEffect>::iterator effectIt = it->second.mEffects.begin();
|
||||
effectIt != it->second.mEffects.end(); it++)
|
||||
effectIt != it->second.mEffects.end(); ++effectIt)
|
||||
{
|
||||
if (effectIt->mEffectId == effectId)
|
||||
return effectIt->mDuration;
|
||||
|
|
Loading…
Reference in a new issue