diff options
author | truebrain <truebrain@openttd.org> | 2011-12-23 23:34:19 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-23 23:34:19 +0000 |
commit | 7702151a62e739b07805c738901bce9fef660fb2 (patch) | |
tree | d344bc4e24454a72293ed42f0ca78f590ce074e8 /src/goal.cpp | |
parent | d6e88a7cab45928aad1bd9d8f958854c571593a8 (diff) | |
download | openttd-7702151a62e739b07805c738901bce9fef660fb2.tar.xz |
(svn r23665) -Fix (r23664): revert, and apply other fix, which allows switching companies safely in SinglePlayer
Diffstat (limited to 'src/goal.cpp')
-rw-r--r-- | src/goal.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/goal.cpp b/src/goal.cpp index b6eabcdfe..91ba6d288 100644 --- a/src/goal.cpp +++ b/src/goal.cpp @@ -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; |