(svn r9247) [NoAI] -Fix: some small coding-style/double inclusion issues.
--- a/src/ai/api/ai_base.hpp Fri Mar 16 01:06:26 2007 +0000
+++ b/src/ai/api/ai_base.hpp Fri Mar 16 09:44:13 2007 +0000
@@ -7,7 +7,7 @@
#include "ai_object.hpp"
-class AIBase: public AIObject {
+class AIBase : public AIObject {
public:
/**
* Get a random value.
--- a/src/ai/api/ai_company.cpp Fri Mar 16 01:06:26 2007 +0000
+++ b/src/ai/api/ai_company.cpp Fri Mar 16 09:44:13 2007 +0000
@@ -1,6 +1,6 @@
/* $Id$ */
-/** @file ai_company.cpp handles the money-related functions of the AICompany class */
+/** @file ai_company.cpp handles the functions of the AICompany class */
#include "ai_company.hpp"
#include "../../player.h"
--- a/src/ai/api/ai_controller.hpp Fri Mar 16 01:06:26 2007 +0000
+++ b/src/ai/api/ai_controller.hpp Fri Mar 16 09:44:13 2007 +0000
@@ -34,8 +34,6 @@
uint GetTick() { return this->tick; }
};
-#endif /* AI_CONTROLLER_HPP */
-
#ifdef DEFINE_SQUIRREL_CLASS
void SQAIControllerRegister(Squirrel *engine) {
DefSQClass <AIControllerSquirrel> SQAIController("AIController");
@@ -44,3 +42,5 @@
SQAIController.PostRegister(engine);
}
#endif /* SQUIRREL_CLASS */
+
+#endif /* AI_CONTROLLER_HPP */