Codechange: replace static inline with static for non-class functions
This commit is contained in:
@@ -304,7 +304,7 @@ void MakeDefaultName(T *obj)
|
||||
* Converts original town ticks counters to plain game ticks. Note that
|
||||
* tick 0 is a valid tick so actual amount is one more than the counter value.
|
||||
*/
|
||||
static inline uint16_t TownTicksToGameTicks(uint16_t ticks)
|
||||
inline uint16_t TownTicksToGameTicks(uint16_t ticks)
|
||||
{
|
||||
return (std::min(ticks, MAX_TOWN_GROWTH_TICKS) + 1) * Ticks::TOWN_GROWTH_TICKS - 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user