1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Fixing spelling mistakes. Patch from josch, fixes #1759

This commit is contained in:
Ivan Savenko
2014-03-23 12:59:03 +00:00
parent 9dda194ed3
commit 9c0df68cb8
39 changed files with 69 additions and 69 deletions

View File

@@ -1594,7 +1594,7 @@ IexpValStr ERMInterpreter::getVar(std::string toFollow, boost::optional<int> ini
{
if(initV > 0 && initV <= FunctionLocalVars::NUM_LOCALS)
{
int &valPtr = curFunc ? curFunc->getLocal(initV) : const_cast<ERMInterpreter&>(*this).getFuncVars(0)->getLocal(initV); //retreive local var if in function or use global set otherwise
int &valPtr = curFunc ? curFunc->getLocal(initV) : const_cast<ERMInterpreter&>(*this).getFuncVars(0)->getLocal(initV); //retrieve local var if in function or use global set otherwise
if(retIt)
ret = IexpValStr(&valPtr);
else