src/ai/api/ai_cargo.hpp
branchnoai
changeset 9490 999eb7531205
parent 9472 063c3f50972a
child 9520 f7cf8bea10db
--- a/src/ai/api/ai_cargo.hpp	Tue Mar 20 00:12:35 2007 +0000
+++ b/src/ai/api/ai_cargo.hpp	Tue Mar 20 00:14:29 2007 +0000
@@ -17,7 +17,7 @@
 	 * @param cargo_type the cargo to check.
 	 * @return true if and only if the cargo type is valid.
 	 */
-	bool IsValidCargo(CargoID cargo_type);
+	static bool IsValidCargo(CargoID cargo_type);
 
 	/**
 	 * Gets the string representation of the cargo label.