Codechange: do not declare functions in blocks
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "safeguards.h"
|
||||
|
||||
extern uint32 GetRelativePosition(TileIndex tile, TileIndex ind_tile);
|
||||
|
||||
AirportTileSpec AirportTileSpec::tiles[NUM_AIRPORTTILES];
|
||||
|
||||
@@ -162,8 +163,6 @@ static uint32 GetAirportTileIDAtOffset(TileIndex tile, const Station *st, uint32
|
||||
{
|
||||
assert(this->st != nullptr);
|
||||
|
||||
extern uint32 GetRelativePosition(TileIndex tile, TileIndex ind_tile);
|
||||
|
||||
switch (variable) {
|
||||
/* Terrain type */
|
||||
case 0x41: return GetTerrainType(this->tile);
|
||||
|
||||
Reference in New Issue
Block a user