(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
|
||||
#include "table/sprites.h"
|
||||
|
||||
#include "safeguards.h"
|
||||
|
||||
/* Maximum number of NewGRFs that may be loaded. Six reserved slots are:
|
||||
* 0 - config, 1 - sound, 2 - base, 3 - logos, 4 - climate, 5 - extra */
|
||||
static const int MAX_NEWGRFS = MAX_FILE_SLOTS - 6;
|
||||
|
Reference in New Issue
Block a user