Skip to content

Commit fd04505

Browse files
committed
调整空行
1 parent f9ffb9a commit fd04505

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎kbe/src/lib/entitydef/entitydef.cpp‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,6 @@ bool EntityDef::loadDefPropertys(const std::string& moduleName,
616616
if(typeNode)
617617
{
618618
strType = xml->getValStr(typeNode);
619-
//std::transform(strType.begin(), strType.end(), strType.begin(), toupper); // 转换为大写
620619

621620
if(strType == "ARRAY")
622621
{
@@ -703,13 +702,16 @@ bool EntityDef::loadDefPropertys(const std::string& moduleName,
703702
detailLevel);
704703

705704
bool ret = true;
705+
706706
// 添加到模块中
707707
if(hasCellFlags > 0)
708708
ret = scriptModule->addPropertyDescription(name.c_str(),
709709
propertyDescription, CELLAPP_TYPE);
710+
710711
if(hasBaseFlags > 0)
711712
ret = scriptModule->addPropertyDescription(name.c_str(),
712713
propertyDescription, BASEAPP_TYPE);
714+
713715
if(hasClientFlags > 0)
714716
ret = scriptModule->addPropertyDescription(name.c_str(),
715717
propertyDescription, CLIENT_TYPE);
@@ -1262,6 +1264,7 @@ bool EntityDef::installScript(PyObject* mod)
12621264
EntityMailbox::installScript(NULL);
12631265
FixedArray::installScript(NULL);
12641266
FixedDict::installScript(NULL);
1267+
12651268
_isInit = true;
12661269
return true;
12671270
}

0 commit comments

Comments
 (0)