mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 17:26:16 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
3a50515cd3
commit
9a975ceea1
3 changed files with 5 additions and 3 deletions
|
@ -4484,8 +4484,9 @@ bool CCharacterCL::isCurrentBehaviourAttackEnd() const
|
||||||
case MBEHAV::AREA_ATTACK:
|
case MBEHAV::AREA_ATTACK:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
break;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3540,7 +3540,8 @@ int CGroupHTML::luaShowDiv(CLuaState &ls)
|
||||||
CLuaIHM::checkArgType(ls, funcName, 1, LUA_TSTRING);
|
CLuaIHM::checkArgType(ls, funcName, 1, LUA_TSTRING);
|
||||||
CLuaIHM::checkArgType(ls, funcName, 2, LUA_TBOOLEAN);
|
CLuaIHM::checkArgType(ls, funcName, 2, LUA_TBOOLEAN);
|
||||||
|
|
||||||
if (!_Groups.empty()) {
|
if (!_Groups.empty())
|
||||||
|
{
|
||||||
for (uint i=0; i<_Groups.size(); i++)
|
for (uint i=0; i<_Groups.size(); i++)
|
||||||
{
|
{
|
||||||
CInterfaceGroup *group = _Groups[i];
|
CInterfaceGroup *group = _Groups[i];
|
||||||
|
|
|
@ -1390,7 +1390,7 @@ void CInterfaceManager::runActionHandler (const string &ahCmdLine, CCtrlBase *pC
|
||||||
if(!ahUserParams.empty())
|
if(!ahUserParams.empty())
|
||||||
ahParams= ahUserParams;
|
ahParams= ahUserParams;
|
||||||
|
|
||||||
// Execute the action hanlder
|
// Execute the action handler
|
||||||
CActionHandlerFactoryManager *pAHFM = CActionHandlerFactoryManager::getInstance();
|
CActionHandlerFactoryManager *pAHFM = CActionHandlerFactoryManager::getInstance();
|
||||||
map<string, IActionHandler*>::iterator it = pAHFM->FactoryMap.find (ahName);
|
map<string, IActionHandler*>::iterator it = pAHFM->FactoryMap.find (ahName);
|
||||||
if (it == pAHFM->FactoryMap.end())
|
if (it == pAHFM->FactoryMap.end())
|
||||||
|
|
Loading…
Reference in a new issue