diff options
author | smatz <smatz@openttd.org> | 2009-01-13 22:58:03 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-13 22:58:03 +0000 |
commit | e00cf92f47837d26d5b0fffb0668c5c717b3bacc (patch) | |
tree | 30732aa7126b9196722d14cee835443a82b9688b /src/ai/api/ai_event_types.hpp | |
parent | cb221d99969240913f61d3bd64e20425568044d2 (diff) | |
download | openttd-e00cf92f47837d26d5b0fffb0668c5c717b3bacc.tar.xz |
(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
Diffstat (limited to 'src/ai/api/ai_event_types.hpp')
-rw-r--r-- | src/ai/api/ai_event_types.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp index c64b2a367..13c004d97 100644 --- a/src/ai/api/ai_event_types.hpp +++ b/src/ai/api/ai_event_types.hpp @@ -286,7 +286,7 @@ public: /** * Get the running cost of the offered engine. * @return The running cost of the vehicle per year. - * @note Cost is per year; divide by 364 to get per day. + * @note Cost is per year; divide by 365 to get per day. */ Money GetRunningCost(); |