src/ai/api/ai_settings.cpp
author truebrain
Sun, 08 Jun 2008 21:20:48 +0000
branchnoai
changeset 10871 326ee226e9d7
parent 9833 89a64246458f
permissions -rw-r--r--
(svn r13422) [NoAI] -Change [API CHANGE]: remove Stop() as part of the AIController. This means you no longer need to have a Stop() function in your AI, nor is it ever called. This because it was silly, never used, and couldn't do anything real (all Sleep/DoCommands resulted in an assert, as the game expected the company to be gone).
/* $Id$ */

/** @file ai_settings.cpp Implementation of AISettings. */

#include "ai_settings.hpp"

/* static */ void AISettings::SetCommandDelay(uint ticks)
{
	if (ticks == 0) return;
	AIObject::SetDoCommandDelay(ticks);
}