forked from mirror/OpenTTD
(svn r15263) -Codechange: added Engine::GetCost() to remove some code duplication.
This commit is contained in:
@@ -51,6 +51,7 @@ struct Engine : PoolItem<Engine, EngineID, &_Engine_pool> {
|
||||
inline bool IsValid() const { return this->info.climates != 0; }
|
||||
|
||||
Money GetRunningCost() const;
|
||||
Money GetCost() const;
|
||||
};
|
||||
|
||||
static inline bool IsEngineIndex(uint index)
|
||||
|
Reference in New Issue
Block a user