summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-19 00:34:38 +0000
committeryexo <yexo@openttd.org>2010-03-19 00:34:38 +0000
commit81ca0e28c4504bbc7828df50b2086bbdb8776dd1 (patch)
treea745925398d5f85f4333d505b89dd959d9038039 /src/station_base.h
parentba8f7449419a02a4e53c82ee54939ab106393ea7 (diff)
downloadopenttd-81ca0e28c4504bbc7828df50b2086bbdb8776dd1.tar.xz
(svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/station_base.h b/src/station_base.h
index bee8c6986..adb58cc89 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -60,7 +60,6 @@ struct Airport : public TileArea {
const AirportFTAClass *GetFTA() const
{
- if (this->tile == INVALID_TILE) return GetAirport(AT_DUMMY);
return this->GetSpec()->fsm;
}
};