Mercurial > hg > openttd
comparison src/engine.cpp @ 11238:06dac7488367 draft
(svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part.
author | frosch <frosch@openttd.org> |
---|---|
date | Fri, 27 Feb 2009 20:40:39 +0000 |
parents | 9e451d497d94 |
children | 1b6a11831215 |
comparison
equal
deleted
inserted
replaced
11237:1bce8fabd167 | 11238:06dac7488367 |
---|---|
714 return true; | 714 return true; |
715 } | 715 } |
716 | 716 |
717 /** | 717 /** |
718 * Check if an engine is refittable. | 718 * Check if an engine is refittable. |
719 * Note: Likely you want to use IsArticulatedVehicleRefittable(). | |
719 * @param engine index of the engine to check. | 720 * @param engine index of the engine to check. |
720 * @return true if the engine is refittable. | 721 * @return true if the engine is refittable. |
721 */ | 722 */ |
722 bool IsEngineRefittable(EngineID engine) | 723 bool IsEngineRefittable(EngineID engine) |
723 { | 724 { |