author | tron |
Mon, 05 Jun 2006 16:08:06 +0000 | |
changeset 3968 | 3dbc765cc171 |
parent 3963 | 6cab57074a9a |
child 3987 | 22972f38e240 |
permissions | -rw-r--r-- |
/* $Id$ */ #include "station_map.h" #include "vehicle.h" static inline bool IsAircraftInHangar(const Vehicle* v) { assert(v->type == VEH_Aircraft); return v->vehstatus & VS_HIDDEN && IsHangarTile(v->tile); } static inline bool IsAircraftInHangarStopped(const Vehicle* v) { return IsAircraftInHangar(v) && v->vehstatus & VS_STOPPED; }