Codechange: Ensure function opening {
is on new line.
This commit is contained in:

committed by
Peter Nelson

parent
1de1af08b9
commit
d4008850e3
@@ -304,7 +304,8 @@ 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) {
|
||||
static 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