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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user