Let Airport::GetRotatedHangarTile return the offset
commitc8dcdbb077b2db83d6ab258c0d334aa7e86152a4
authorcirdan <cirdansw@gmail.com>
Tue, 5 Dec 2017 20:00:01 +0000 (5 21:00 +0100)
committercirdan <cirdansw@gmail.com>
Tue, 5 Dec 2017 20:00:01 +0000 (5 21:00 +0100)
treeb225bd94f2e476495d4b47ae158ddad6765fe794
parentcdec72511591269eeebaebb29c6e5049e3dbbe90
Let Airport::GetRotatedHangarTile return the offset

Rename Airport::GetRotatedHangarTile to GetRotatedHangarDiff and
have it return the offset from the airport base tile to the hangar
tile instead of the final hangar tile, so that GetHangarDataByTile
can factor out a computation.
src/station_base.h