mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
Initial work on entity introspection
This commit is contained in:
@@ -1272,7 +1272,7 @@ static CAssetId UpdatePersistentScanPercent(u32 prevLogScans, u32 logScans, u32
|
||||
|
||||
if (scanPercentProgStep > prevScanPercentProgStep) {
|
||||
const char* const messageResBase = UnlockMessageResBases[zeus::clamp(0, scanPercentProgStep - 1, 1)];
|
||||
const auto message = std::string(messageResBase).append(1, firstTime ? '1' : '2');
|
||||
const auto message = std::string(messageResBase).append(1, firstTime ? '1' : '2');
|
||||
const auto* const id = g_ResFactory->GetResourceIdByName(message);
|
||||
if (id != nullptr) {
|
||||
return id->id;
|
||||
|
||||
Reference in New Issue
Block a user