(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
This commit is contained in:
@@ -133,7 +133,7 @@ struct Town : TownPool::PoolItem<&_town_pool> {
|
||||
|
||||
void UpdateVirtCoord();
|
||||
|
||||
static FORCEINLINE Town *GetByTile(TileIndex tile)
|
||||
static inline Town *GetByTile(TileIndex tile)
|
||||
{
|
||||
return Town::Get(GetTownIndex(tile));
|
||||
}
|
||||
|
Reference in New Issue
Block a user