Codechange: replace static inline with static for non-class functions
This commit is contained in:
@@ -22,7 +22,7 @@ void MarkBridgeDirty(TileIndex tile);
|
||||
* @param end The end of the tunnel or bridge.
|
||||
* @return length of bridge/tunnel middle
|
||||
*/
|
||||
static inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end)
|
||||
inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end)
|
||||
{
|
||||
int x1 = TileX(begin);
|
||||
int y1 = TileY(begin);
|
||||
@@ -38,7 +38,7 @@ static inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end)
|
||||
* @param end The end of the tunnel or bridge.
|
||||
* @param owner The new owner to set
|
||||
*/
|
||||
static inline void SetTunnelBridgeOwner(TileIndex begin, TileIndex end, Owner owner)
|
||||
inline void SetTunnelBridgeOwner(TileIndex begin, TileIndex end, Owner owner)
|
||||
{
|
||||
SetTileOwner(begin, owner);
|
||||
SetTileOwner(end, owner);
|
||||
|
||||
Reference in New Issue
Block a user