(svn r23665) -Fix (r23664): revert, and apply other fix, which allows switching companies safely in SinglePlayer

This commit is contained in:
truebrain
2011-12-23 23:34:19 +00:00
parent d6e88a7cab
commit 7702151a62
2 changed files with 4 additions and 5 deletions

View File

@@ -80,8 +80,6 @@ CommandCost CmdCreateGoal(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
default: return CMD_ERROR;
}
if (company != INVALID_OWNER && company != _local_company) return CommandCost();
if (flags & DC_EXEC) {
Goal *g = new Goal();
g->type = type;