forked from mirror/OpenTTD
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
This commit is contained in:
3
engine.c
3
engine.c
@@ -632,7 +632,8 @@ int GetCustomEngineSprite(EngineID engine, const Vehicle *v, byte direction)
|
||||
* @param v The wagon to check
|
||||
* @return true if it is using an override, false otherwise
|
||||
*/
|
||||
bool UsesWagonOverride(const Vehicle *v) {
|
||||
bool UsesWagonOverride(const Vehicle* v)
|
||||
{
|
||||
assert(v->type == VEH_Train);
|
||||
return GetWagonOverrideSpriteSet(v->engine_type, v->u.rail.first_engine) != NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user