summaryrefslogtreecommitdiff
path: root/src/script/script_info.hpp
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-04-10 22:07:06 +0100
committerMichael Lutz <michi@icosahedron.de>2019-04-10 23:22:20 +0200
commit7c8e7c6b6e16d4a26259a676db32d8776b99817e (patch)
tree99f134b7e66367cf11e10bc5061896eab4a3264f /src/script/script_info.hpp
parent3b4f224c0bc50e7248050d4bcbb6d83fd510c1cc (diff)
downloadopenttd-7c8e7c6b6e16d4a26259a676db32d8776b99817e.tar.xz
Codechange: Use null pointer literal instead of the NULL macro
Diffstat (limited to 'src/script/script_info.hpp')
-rw-r--r--src/script/script_info.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/script/script_info.hpp b/src/script/script_info.hpp
index ae341a7d8..6bcec878a 100644
--- a/src/script/script_info.hpp
+++ b/src/script/script_info.hpp
@@ -32,19 +32,19 @@ static const int MAX_GET_SETTING_OPS = 100000;
class ScriptInfo : public SimpleCountedObject {
public:
ScriptInfo() :
- engine(NULL),
- SQ_instance(NULL),
- main_script(NULL),
- tar_file(NULL),
- author(NULL),
- name(NULL),
- short_name(NULL),
- description(NULL),
- date(NULL),
- instance_name(NULL),
+ engine(nullptr),
+ SQ_instance(nullptr),
+ main_script(nullptr),
+ tar_file(nullptr),
+ author(nullptr),
+ name(nullptr),
+ short_name(nullptr),
+ description(nullptr),
+ date(nullptr),
+ instance_name(nullptr),
version(0),
- url(NULL),
- scanner(NULL)
+ url(nullptr),
+ scanner(nullptr)
{}
~ScriptInfo();