Codechange: move tick-counter into TimerGameTick (#10712)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "newgrf_house.h"
|
||||
#include "economy_func.h"
|
||||
#include "date_func.h"
|
||||
#include "timer/timer_game_tick.h"
|
||||
#include "texteff.hpp"
|
||||
#include "gfx_func.h"
|
||||
#include "gamelog.h"
|
||||
@@ -65,7 +66,7 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
|
||||
|
||||
_pause_mode = PM_UNPAUSED;
|
||||
_game_speed = 100;
|
||||
_tick_counter = 0;
|
||||
TimerGameTick::counter = 0;
|
||||
_cur_tileloop_tile = 1;
|
||||
_thd.redsq = INVALID_TILE;
|
||||
if (reset_settings) MakeNewgameSettingsLive();
|
||||
|
Reference in New Issue
Block a user