2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Minor fixes to CFrontEndUI, add elapsed seconds to save selection

This commit is contained in:
2019-02-03 13:20:05 -08:00
parent 0bb51f067c
commit 157946810a
3 changed files with 57 additions and 10 deletions

View File

@@ -417,12 +417,12 @@ void CStateManager::SetupParticleHook(const CActor& actor) const {
void CStateManager::MurderScriptInstanceNames() { xb40_uniqueInstanceNames.clear(); }
std::string CStateManager::HashInstanceName(CInputStream& in) {
#ifdef NDEBUG
while (in.readByte() != 0) {};
return "";
#else
return in.readString();
#endif
if (hecl::com_developer && hecl::com_developer->toBoolean()) {
return in.readString();
} else {
while (in.readByte() != 0) {};
return "";
}
}
void CStateManager::SetActorAreaId(CActor& actor, TAreaId aid) {