summaryrefslogtreecommitdiff
path: root/src/script/script_info.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-29 23:26:44 +0000
committertruebrain <truebrain@openttd.org>2011-11-29 23:26:44 +0000
commit4505edbd4715befb0944e91ad7f986a8ca83f113 (patch)
tree90fc3eee3172861db8b3243682e6f70fc52bccba /src/script/script_info.cpp
parent34d7f01cccfbb4dcd09f0b68ded513f495fa69ed (diff)
downloadopenttd-4505edbd4715befb0944e91ad7f986a8ca83f113.tar.xz
(svn r23365) -Codechange: move constants to a single place, to avoid duplication (and in time, different values)
Diffstat (limited to 'src/script/script_info.cpp')
-rw-r--r--src/script/script_info.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/script/script_info.cpp b/src/script/script_info.cpp
index afa90f40e..779236ebc 100644
--- a/src/script/script_info.cpp
+++ b/src/script/script_info.cpp
@@ -17,14 +17,6 @@
#include "script_info.hpp"
#include "script_scanner.hpp"
-/** Number of operations to get the author and similar information. */
-static const int MAX_GET_OPS = 1000;
-/** Number of operations to create an instance of a script. */
-static const int MAX_CREATEINSTANCE_OPS = 100000;
-/** Maximum number of operations allowed for getting a particular setting. */
-static const int MAX_GET_SETTING_OPS = 100000;
-
-
ScriptInfo::~ScriptInfo()
{
/* Free all allocated strings */