1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Fix SV4 import error

This commit is contained in:
Gymnasiast
2018-12-16 12:49:30 +01:00
parent 75d094e135
commit 6031a9bc27

View File

@@ -680,9 +680,11 @@ private:
if (_pathTypeToEntryMap[pathType] == 255)
{
const char* entryName = RCT1::GetPathObject(pathType);
size_t entryIndex = _pathEntries.GetOrAddEntry(entryName);
_pathTypeToEntryMap[pathType] = (uint8_t)entryIndex;
if (!String::Equals(entryName, " "))
{
size_t entryIndex = _pathEntries.GetOrAddEntry(entryName);
_pathTypeToEntryMap[pathType] = (uint8_t)entryIndex;
}
}
}