Fixes error on reading compiled scripts.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
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…
x
Reference in New Issue
Block a user