diff --git a/engine/server/library/serverScript/src/shared/ScriptMethodsMentalStates.cpp b/engine/server/library/serverScript/src/shared/ScriptMethodsMentalStates.cpp index 87d142d0..c4dd20c1 100644 --- a/engine/server/library/serverScript/src/shared/ScriptMethodsMentalStates.cpp +++ b/engine/server/library/serverScript/src/shared/ScriptMethodsMentalStates.cpp @@ -876,7 +876,7 @@ jboolean JNICALL ScriptMethodsMentalStatesNamespace::setMentalStateTowardArray(J if (!ScriptConversion::convert(target, targetIds)) return JNI_FALSE; - std::vector::iterator i; + std::vector::iterator i; for (i=targetIds.begin(); i!=targetIds.end(); ++i) { creature->setMentalStateToward(*i, static_cast(mentalState), @@ -911,7 +911,7 @@ jboolean JNICALL ScriptMethodsMentalStatesNamespace::addToMentalStateTowardArray if (!ScriptConversion::convert(target, targetIds)) return JNI_FALSE; - std::vector::iterator i; + std::vector::iterator i; for (i=targetIds.begin(); i!=targetIds.end(); ++i) { MentalStates::Value current = creature->getMentalStateToward(*i, static_cast(mentalState));