src/ai/api/ai_settings.cpp
author truelight
Sun, 18 Mar 2007 18:02:27 +0000
branchnoai
changeset 9452 4c5eedbc3ba9
parent 9450 d675836e865c
child 9749 ee414c031e73
permissions -rw-r--r--
(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_settings.cpp everything to change AI settings */

#include "ai_settings.hpp"

void AISettings::SetCommandDelay(uint ticks)
{
	if (ticks == 0) return;
	this->SetDoCommandDelay(ticks);
}