forked from mirror/OpenTTD
(svn r21986) -Codechange: Add helper function to test whether an engine is still associated to a GRF.
This commit is contained in:
@@ -61,6 +61,7 @@ struct Engine : EnginePool::PoolItem<&_engine_pool> {
|
||||
Engine();
|
||||
Engine(VehicleType type, EngineID base);
|
||||
~Engine();
|
||||
bool IsEnabled() const;
|
||||
|
||||
/**
|
||||
* Determines the default cargo type of an engine.
|
||||
|
Reference in New Issue
Block a user