src/ai/api/ai_controller.cpp
author truelight
Sun, 19 Aug 2007 13:16:06 +0000
branchnoai
changeset 9696 4384ed3de1f0
parent 9444 fd27df7ca2a0
child 9724 b39bc69bb2f2
permissions -rw-r--r--
(svn r10937) [NoAI] -Add: added AIStation::GetName on request by Nickman
[NoAI] -Fix: AICompant::GetCompanyName returned \0 for invalid company instead of NULL
/* $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);
}