diff options
author | smatz <smatz@openttd.org> | 2009-07-13 16:35:22 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-07-13 16:35:22 +0000 |
commit | 868c21cbcc3b04e4e6649417ff94763a82c7d8b5 (patch) | |
tree | 5b5c1b451eff9b600077da230411e02dd09ec514 /src/vehicle_base.h | |
parent | bb9fee178da65f6b606e6853821f15a26c1ab3eb (diff) | |
download | openttd-868c21cbcc3b04e4e6649417ff94763a82c7d8b5.tar.xz |
(svn r16813) -Codechange: make IsEngineCountable() member of Vehicle
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 8cb9e7761..ff8c34000 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -511,6 +511,8 @@ public: { return (this->orders.list == NULL) ? NULL : this->orders.list->GetLastOrder(); } + + bool IsEngineCountable() const; }; #define FOR_ALL_VEHICLES_FROM(var, start) FOR_ALL_ITEMS_FROM(Vehicle, vehicle_index, var, start) |