Codechange: Use null pointer literal instead of the NULL macro

This commit is contained in:
Henry Wilson
2019-04-10 22:07:06 +01:00
committed by Michael Lutz
parent 3b4f224c0b
commit 7c8e7c6b6e
463 changed files with 5674 additions and 5674 deletions

View File

@@ -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;