summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-28 15:41:03 +0100
committerCharles Pigott <charlespigott@googlemail.com>2021-02-28 18:04:51 +0000
commitc3dc27e37e177675c8a54ef507de48b61ed6da2c (patch)
treee42eb666cf8f22c17a0a4042bc62043ecda6c3b8 /src/misc.cpp
parent73fd634209a9d54dd167a579e4bb3cced177b896 (diff)
downloadopenttd-c3dc27e37e177675c8a54ef507de48b61ed6da2c.tar.xz
Add: settings to limit your fast-forward game speed
By default this setting is set to 2500% normal game speed.
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index dcb04fa02..c46a1c11d 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -64,7 +64,7 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
AllocateMap(size_x, size_y);
_pause_mode = PM_UNPAUSED;
- _fast_forward = 0;
+ _game_speed = 100;
_tick_counter = 0;
_cur_tileloop_tile = 1;
_thd.redsq = INVALID_TILE;