(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!
This commit is contained in:
truelight
2005-11-21 14:28:31 +00:00
parent c7f3192f6b
commit 31f218fdf9
11 changed files with 144 additions and 87 deletions

View File

@@ -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++;