mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 15:46:18 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
213b1cd207
commit
a543cd7f24
3 changed files with 17 additions and 17 deletions
|
@ -2571,7 +2571,9 @@ class CAHAddShape : public IActionHandler
|
|||
skel.setPos(CVector((float)x, (float)y, (float)z));
|
||||
skel.setRotQuat(dir.getRot());
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
instance.setScale(instance.getScale()*s);
|
||||
instance.setPos(CVector((float)x, (float)y, (float)z));
|
||||
instance.setRotQuat(dir.getRot());
|
||||
|
@ -3168,7 +3170,6 @@ class CHandlerGameConfigFullscreen : public IActionHandler
|
|||
// hide frequencies combo
|
||||
pCB= dynamic_cast<CDBGroupComboBox*>(pIM->getElementFromId( GAME_CONFIG_VIDEO_FREQS_COMBO ));
|
||||
if (pCB) pCB->setActive(false);
|
||||
|
||||
}
|
||||
|
||||
// **** dirt the apply button of the DDX
|
||||
|
|
|
@ -361,7 +361,6 @@ void CGroupHTML::checkDownloads()
|
|||
CFile::moveFile(file.c_str(), (file+".tmp").c_str());
|
||||
if (lookupLocalFile (finalUrl, file.c_str(), false))
|
||||
{
|
||||
|
||||
CInterfaceManager *pIM = CInterfaceManager::getInstance();
|
||||
pIM->executeLuaScript(it->luaScript, true);
|
||||
}
|
||||
|
@ -1835,7 +1834,7 @@ CGroupHTML::CGroupHTML(const TCtorParam ¶m)
|
|||
_TimeoutValue(DEFAULT_RYZOM_CONNECTION_TIMEOUT)
|
||||
{
|
||||
// add it to map of group html created
|
||||
_GroupHtmlUID= ++_GroupHtmlUIDPool; // valid assigned Id begin to 1!
|
||||
_GroupHtmlUID= ++_GroupHtmlUIDPool; // valid assigned Id begin to 1!
|
||||
_GroupHtmlByUID[_GroupHtmlUID]= this;
|
||||
|
||||
// init
|
||||
|
|
|
@ -4392,7 +4392,7 @@ bool CEditor::doLuaScript(const char *filename, const char *fileDescText)
|
|||
return false;
|
||||
}
|
||||
|
||||
if( 0 && FINAL_VERSION == 1) // deactivated for the moment because there are lua file that must be loaded from example
|
||||
if( 0 && FINAL_VERSION == 1) // disabled for the moment because there are lua file that must be loaded from example
|
||||
{
|
||||
const static std::string path = "data_common.bnp@";
|
||||
const static std::string::size_type len= path.size();
|
||||
|
|
Loading…
Reference in a new issue