(svn r23365) -Codechange: move constants to a single place, to avoid duplication (and in time, different values)
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user