1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-02 23:19:40 +00:00
This commit is contained in:
Marc Zinnschlag 2013-02-23 20:20:40 +01:00
parent 3472a6f180
commit a95431c387

View file

@ -168,6 +168,11 @@ namespace MWScript
for (int i=0; i<script->mData.mNumFloats; ++i)
locals.declare ('f', script->mVarNames[index++]);
std::map<std::string, Compiler::Locals>::iterator iter =
mOtherLocals.insert (std::make_pair (name, locals)).first;
return iter->second;
}
throw std::logic_error ("script " + name + " does not exist");