(svn r9410) [NoAI] -Fix: some copy-paste mistakes... noai
authorrubidium
Thu, 22 Mar 2007 23:12:05 +0000
branchnoai
changeset 9513 258f78c74b0c
parent 9512 36a53e169661
child 9514 e31710af1ca0
(svn r9410) [NoAI] -Fix: some copy-paste mistakes...
src/ai/api/ai_road.cpp
src/ai/api/ai_sign.hpp
--- a/src/ai/api/ai_road.cpp	Thu Mar 22 22:53:44 2007 +0000
+++ b/src/ai/api/ai_road.cpp	Thu Mar 22 23:12:05 2007 +0000
@@ -1,6 +1,6 @@
 /* $Id$ */
 
-/** @file ai_town.cpp handles the functions of the AIRoad class */
+/** @file ai_road.cpp handles the functions of the AIRoad class */
 
 #include "ai_road.hpp"
 #include "../../command.h"
--- a/src/ai/api/ai_sign.hpp	Thu Mar 22 22:53:44 2007 +0000
+++ b/src/ai/api/ai_sign.hpp	Thu Mar 22 23:12:05 2007 +0000
@@ -8,19 +8,19 @@
 #include "ai_object.hpp"
 
 /**
- * Class that handles all town related functions.
+ * Class that handles all sign related functions.
  */
 class AISign : public AIObject {
 public:
 	/**
 	 * Gets the maximum sign index; there are no valid signs with a higher index.
-	 * @return the maximum town index.
+	 * @return the maximum sign index.
 	 * @post return value is always non-negative.
 	 */
 	SignID GetMaxSignID();
 
 	/**
-	 * Gets the number of signs. This is different than GetSignTownID()
+	 * Gets the number of signs. This is different than GetMaxSignID()
 	 *   because of the way OpenTTD works internally.
 	 * @return the number of signs.
 	 * @post return value is always non-negative.