(svn r9282) [NoAI] -Add: added AIAccounting, which tracks the cost of your buying/selling.
DoCommand no longer returns the cost, it returns a bool.
Costs are available via this Accounting class.
/* $Id$ */
/** @file ai_controller.cpp handles the functions of the AIControler class */
#include "ai_controller.hpp"
#include "../../stdafx.h"
#include "../../openttd.h"
#include "../../player.h"
#include "../ai_threads.h"
void AIController::Sleep(uint ticks)
{
AI_SuspendPlayer(_current_player, ticks);
}