[-] Fix for Wyrmsun

This commit is contained in:
cybermind 2015-03-02 21:25:46 +05:00
parent eb4dbbeba2
commit 545f92d102

View file

@ -732,7 +732,7 @@ static bool IsAValidCommand_Command(const CNetworkPacket &packet, int index, con
const CUnit *unit = slot < UnitManager.GetUsedSlotCount() ? &UnitManager.GetSlotUnit(slot) : NULL;
if (unit && (unit->Player->Index == player
|| Players[player].IsTeamed(*unit))) {
|| Players[player].IsTeamed(*unit) || unit->Player->Type == PlayerNeutral)) {
return true;
} else {
return false;