diff --git a/apps/openmw-mp/Script/ScriptFunction.cpp b/apps/openmw-mp/Script/ScriptFunction.cpp index 6d30d2129..fd36f109f 100644 --- a/apps/openmw-mp/Script/ScriptFunction.cpp +++ b/apps/openmw-mp/Script/ScriptFunction.cpp @@ -124,6 +124,7 @@ boost::any ScriptFunction::Call(const vector &args) #endif else { +#if !defined(_WIN32) && !defined(__ARM_ARCH) // temporarily disabled string::iterator it; vector::const_iterator it2; vector data; @@ -155,7 +156,6 @@ boost::any ScriptFunction::Call(const vector &args) throw runtime_error("C++ call: Unknown argument identifier " + *it); } } -#if !defined(_WIN32) && !defined(__ARM_ARCH) // temporarily disabled Func f = reinterpret_cast(fCpp); result = ::Call(f, callArgs); #else