summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-11-21 14:28:31 +0000
committertruelight <truelight@openttd.org>2005-11-21 14:28:31 +0000
commit31f218fdf9fe416acb05a50aea145bc59c677a39 (patch)
treeed3e3492216f1374aa8c453d1e1db298c57deb95 /command.c
parentc7f3192f6ba2f8a9de7175c1eaa6f86971051c01 (diff)
downloadopenttd-31f218fdf9fe416acb05a50aea145bc59c677a39.tar.xz
(svn r3224) -Add: Allow the NewAI to work in Multiplayer Games (switchable via patch
settings, off by defaut). An other step to AIScripts. WARNING: this is still highly experimental and has known bugs!
Diffstat (limited to 'command.c')
-rw-r--r--command.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/command.c b/command.c
index 02569d01d..b99ea82eb 100644
--- a/command.c
+++ b/command.c
@@ -341,10 +341,6 @@ int32 DoCommand(int x, int y, uint32 p1, uint32 p2, uint32 flags, uint procc)
if (_docommand_recursive == 0) {
_error_message = INVALID_STRING_ID;
- // update last build coord of player
- if ( (x|y) != 0 && _current_player < MAX_PLAYERS) {
- GetPlayer(_current_player)->last_build_coordinate = TileVirtXY(x, y);
- }
}
_docommand_recursive++;