summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorSamu <dj_samu@hotmail.com>2019-01-31 14:35:13 +0000
committerPeterN <peter@fuzzle.org>2019-02-02 16:37:11 +0000
commit011257dc8804175dd7d1e839e97e796c0a88aee6 (patch)
tree97f0da59d87fda8935d741722b76ea64819160a8 /src/script
parentfa53abe864a6939dc4dac8a6c61443e486e0eb04 (diff)
downloadopenttd-011257dc8804175dd7d1e839e97e796c0a88aee6.tar.xz
Change: Allow AI companies to start immediately.
Allow multiple AIs to possibly start in the same tick. start_date = 0 becomes a special case, where random deviation does not occur. If start_date was not already 0, then a minimum value of 1 must apply.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/script_config.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_config.hpp b/src/script/script_config.hpp
index dfc675473..3dfd6bb0b 100644
--- a/src/script/script_config.hpp
+++ b/src/script/script_config.hpp
@@ -139,7 +139,7 @@ public:
/**
* Randomize all settings the Script requested to be randomized.
*/
- void AddRandomDeviation();
+ virtual void AddRandomDeviation();
/**
* Is this config attached to an Script? In other words, is there a Script