File tree Expand file tree Collapse file tree 1 file changed +26
-12
lines changed Expand file tree Collapse file tree 1 file changed +26
-12
lines changed Original file line number Diff line number Diff line change @@ -491,6 +491,7 @@ bool EntityDef::loadParentClass(const std::string& defFilePath,
491
491
492
492
return false ;
493
493
}
494
+
494
495
return true ;
495
496
}
496
497
@@ -724,6 +725,7 @@ bool EntityDef::loadDefPropertys(const std::string& moduleName,
724
725
}
725
726
XML_FOR_END (defPropertyNode);
726
727
}
728
+
727
729
return true ;
728
730
}
729
731
@@ -1004,22 +1006,34 @@ bool EntityDef::isLoadScriptModule(ScriptDefModule* scriptModule)
1004
1006
switch (__loadComponentType)
1005
1007
{
1006
1008
case BASEAPP_TYPE:
1007
- if (!scriptModule->hasBase ())
1008
- return false ;
1009
- break ;
1009
+ {
1010
+ if (!scriptModule->hasBase ())
1011
+ return false ;
1012
+
1013
+ break ;
1014
+ }
1010
1015
case CELLAPP_TYPE:
1011
- if (!scriptModule->hasCell ())
1012
- return false ;
1013
- break ;
1016
+ {
1017
+ if (!scriptModule->hasCell ())
1018
+ return false ;
1019
+
1020
+ break ;
1021
+ }
1014
1022
case CLIENT_TYPE:
1015
1023
case BOTS_TYPE:
1016
- if (!scriptModule->hasClient ())
1017
- return false ;
1018
- break ;
1024
+ {
1025
+ if (!scriptModule->hasClient ())
1026
+ return false ;
1027
+
1028
+ break ;
1029
+ }
1019
1030
default :
1020
- if (!scriptModule->hasCell ())
1021
- return false ;
1022
- break ;
1031
+ {
1032
+ if (!scriptModule->hasCell ())
1033
+ return false ;
1034
+
1035
+ break ;
1036
+ }
1023
1037
};
1024
1038
1025
1039
return true ;
You can’t perform that action at this time.
0 commit comments