(svn r16813) -Codechange: make IsEngineCountable() member of Vehicle

This commit is contained in:
smatz
2009-07-13 16:35:22 +00:00
parent 0a1b4912ef
commit 98b8479f56
6 changed files with 14 additions and 14 deletions

View File

@@ -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)