Fix bad string compare function (caused houses to not appear if they started with the same name as another house)

This commit is contained in:
elasota
2020-05-21 08:22:29 -04:00
parent b68cfab6d8
commit de342cb368

View File

@@ -24,7 +24,7 @@ namespace StrCmp
const uint8_t *chars2 = string2.UChars(); const uint8_t *chars2 = string2.UChars();
const size_t len1 = string1.Length(); const size_t len1 = string1.Length();
const size_t len2 = string1.Length(); const size_t len2 = string2.Length();
const size_t shorterLen = std::min(len1, len2); const size_t shorterLen = std::min(len1, len2);