Fix gen3 wc3 random version get

recently removed gameversion value segregation to 100+; just sanity
check <=CXD
#1460
This commit is contained in:
Kurt
2017-09-16 14:11:16 -07:00
parent 7efd771bf4
commit 07d37efd67

View File

@@ -168,7 +168,7 @@ private static int GetSafeLanguage(int hatchLang, int supplied)
}
private static int GetRandomVersion(int version)
{
if (version < 100 && version > 0) // single game
if (version <= 15 && version > 0) // single game
return version;
int rand = Util.Rand.Next(1);