Codechange: Use null pointer literal instead of the NULL macro
This commit is contained in:

committed by
Michael Lutz

parent
3b4f224c0b
commit
7c8e7c6b6e
@@ -61,10 +61,10 @@ protected:
|
||||
|
||||
public:
|
||||
ScriptConfig() :
|
||||
name(NULL),
|
||||
name(nullptr),
|
||||
version(-1),
|
||||
info(NULL),
|
||||
config_list(NULL),
|
||||
info(nullptr),
|
||||
config_list(nullptr),
|
||||
is_random(false)
|
||||
{}
|
||||
|
||||
@@ -178,7 +178,7 @@ public:
|
||||
* Search a textfile file next to this script.
|
||||
* @param type The type of the textfile to search for.
|
||||
* @param slot #CompanyID to check status of.
|
||||
* @return The filename for the textfile, \c NULL otherwise.
|
||||
* @return The filename for the textfile, \c nullptr otherwise.
|
||||
*/
|
||||
const char *GetTextfile(TextfileType type, CompanyID slot) const;
|
||||
|
||||
|
Reference in New Issue
Block a user