This commit is contained in:
1 file changed
+2
-2
@@ -124,12 +124,12 @@ void AngelScripResolver::FinalizeModule() {
|
||||
int r = _builder.BuildModule();
|
||||
if (r < 0)
|
||||
throw CreatureException("Building Script Module failed.");
|
||||
int count = _mainModule->GetObjectTypeCount();
|
||||
asUINT count = _mainModule->GetObjectTypeCount();
|
||||
std::regex metadataMatcher("^\\s*(\\w+)([\\w\\s=]*)$", std::regex_constants::icase);
|
||||
std::regex variableMatcher("\\s*(\\w+)=(\\w+)", std::regex_constants::icase);
|
||||
std::smatch base_match;
|
||||
|
||||
for (size_t n = 0; n < count; n++) {
|
||||
for (asUINT n = 0; n < count; n++) {
|
||||
auto typeInfo = _mainModule->GetObjectTypeByIndex(n);
|
||||
auto metadata = _builder.GetMetadataForType(typeInfo->GetTypeId());
|
||||
for (size_t m = 0; m < metadata.size(); m++) {
|
||||
|
||||
Reference in new issue
Block a user