1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-15 08:22:34 +01:00

(svn r23365) -Codechange: move constants to a single place, to avoid duplication (and in time, different values)

This commit is contained in:
truebrain
2011-11-29 23:26:44 +00:00
parent 34d7f01ccc
commit 4505edbd47
4 changed files with 17 additions and 20 deletions

View File

@@ -18,6 +18,7 @@
#include "script_fatalerror.hpp"
#include "script_storage.hpp"
#include "script_info.hpp"
#include "script_instance.hpp"
#include "api/script_controller.hpp"
@@ -29,11 +30,6 @@
#include "../company_func.h"
#include "../fileio_func.h"
/** The maximum number of operations for saving or loading the data of a script. */
static const int MAX_SL_OPS = 100000;
/** The maximum number of operations for initial start of a script. */
static const int MAX_CONSTRUCTOR_OPS = 100000;
ScriptStorage::~ScriptStorage()
{
/* Free our pointers */