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

Fix CAutoMapper surfaces on Braswell

This commit is contained in:
2017-11-20 09:33:21 -08:00
parent f1b43c4805
commit 2ec2d07bdf
16 changed files with 185 additions and 29 deletions

View File

@@ -417,9 +417,8 @@ void CStateManager::MurderScriptInstanceNames()
std::string CStateManager::HashInstanceName(CInputStream& in)
{
#ifdef NDEBUG
static std::string name;
while (in.readByte() != 0) {};
return name;
return "";
#else
return in.readString();
#endif