(svn r9247) [NoAI] -Fix: some small coding-style/double inclusion issues. noai
authorrubidium
Fri, 16 Mar 2007 09:44:13 +0000
branchnoai
changeset 9436 e28503f827a5
parent 9435 9dad22394553
child 9437 28e0105114a4
(svn r9247) [NoAI] -Fix: some small coding-style/double inclusion issues.
src/ai/api/ai_base.hpp
src/ai/api/ai_company.cpp
src/ai/api/ai_controller.hpp
--- 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 */