Merge pull request #183 from Jammyjamjamman/win_linux_oos_fix

Disabled function causing OOS in cross windows-linux games, which was re-en…
This commit is contained in:
titiger 2018-05-01 11:18:23 +02:00 committed by GitHub
commit 36af9f3d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -347,7 +347,10 @@ void FactionThread::execute() {
//bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","true");
//bool sortedUnitsAllowed = false;
//if(sortedUnitsAllowed == true) {
this->faction->sortUnitsByCommandGroups();
/// TODO: Why does this cause an OOS?
//this->faction->sortUnitsByCommandGroups();
//}
codeLocation = "8";