diff -r ff5908205170 -r d0a430e8310b src/ai/api/ai_base.hpp --- a/src/ai/api/ai_base.hpp Sat Jul 14 23:35:46 2007 +0000 +++ b/src/ai/api/ai_base.hpp Sat Jul 14 23:49:31 2007 +0000 @@ -29,21 +29,21 @@ * Get a random value. * @return a random value between 0 and MAX(uint32). */ - uint32 Rand(); + static uint32 Rand(); /** * Get a random value in a range. * @param max the maximum value it will return. * @return a random value between 0 .. max. */ - uint RandRange(uint max); + static uint RandRange(uint max); /** * Returns approximatelly 'out' times true when called 'max' times. * After all, it is a random function. * @return true if the chance worked out. */ - bool Chance(uint out, uint max); + static bool Chance(uint out, uint max); }; #endif /* AI_BASE_HPP */