summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2013-05-27 21:59:11 +0000
committerzuu <zuu@openttd.org>2013-05-27 21:59:11 +0000
commit168391ad56d4e93f7545b1357880703efc777b2a (patch)
tree554f04eea6721365746f54a81040dd3c30840817 /src
parent73c96fc66d1e5b9dff3f05850e2b5899a80a4876 (diff)
downloadopenttd-168391ad56d4e93f7545b1357880703efc777b2a.tar.xz
(svn r25299) -Feature: Allow more concurrent goals in a game
Diffstat (limited to 'src')
-rw-r--r--src/goal_base.h2
-rw-r--r--src/script/api/game_changelog.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/goal_base.h b/src/goal_base.h
index b768c354c..7453196c8 100644
--- a/src/goal_base.h
+++ b/src/goal_base.h
@@ -16,7 +16,7 @@
#include "goal_type.h"
#include "core/pool_type.hpp"
-typedef Pool<Goal, GoalID, 1, 256> GoalPool;
+typedef Pool<Goal, GoalID, 64, 64000> GoalPool;
extern GoalPool _goal_pool;
/** Struct about goals, current and completed */
diff --git a/src/script/api/game_changelog.hpp b/src/script/api/game_changelog.hpp
index fad71b7fa..7d460b87e 100644
--- a/src/script/api/game_changelog.hpp
+++ b/src/script/api/game_changelog.hpp
@@ -28,6 +28,7 @@
* \li GSTile::GetTerrainType
*
* Other changes:
+ * \li GSGoal::New can now create up to 64000 concurrent goals. The old limit was 256 goals.
* \li GSStation::GetRating does return -1 for cargo-station combinations that
* do not have a rating yet instead of returning 69.
*