[-] Fix for Wyrmsun
This commit is contained in:
parent
eb4dbbeba2
commit
545f92d102
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue