Fixes error on reading compiled scripts.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
20f90222d1
commit
090b77ff2b
|
@ -381,7 +381,7 @@ void AngelScriptResolver::InitializeByteCode(
|
||||||
for (const auto& val : innerDb.second) {
|
for (const auto& val : innerDb.second) {
|
||||||
auto decl = val.second;
|
auto decl = val.second;
|
||||||
auto type = objectTypes[decl];
|
auto type = objectTypes[decl];
|
||||||
_itemUseTypes[val.first] = type;
|
_itemUseTypes.Set(val.first, type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,6 +55,7 @@ public:
|
||||||
// Write the divider between categories.
|
// Write the divider between categories.
|
||||||
Write("\1", sizeof(char));
|
Write("\1", sizeof(char));
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ArbUt::Dictionary<ScriptCategory, ArbUt::Dictionary<ArbUt::StringView, uint32_t>> ReadTypes() {
|
virtual ArbUt::Dictionary<ScriptCategory, ArbUt::Dictionary<ArbUt::StringView, uint32_t>> ReadTypes() {
|
||||||
_angelScriptBound = SIZE_MAX;
|
_angelScriptBound = SIZE_MAX;
|
||||||
ArbUt::Dictionary<ScriptCategory, ArbUt::Dictionary<ArbUt::StringView, uint32_t>> types;
|
ArbUt::Dictionary<ScriptCategory, ArbUt::Dictionary<ArbUt::StringView, uint32_t>> types;
|
||||||
|
|
Loading…
Reference in New Issue