summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r--src/newgrf_commons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index ed18aaa9e..ff241369a 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -309,7 +309,7 @@ bool Convert8bitBooleanCallback(const struct GRFFile *grffile, uint16 cbid, uint
*/
template <size_t Tcnt>
struct GRFFilePropsBase {
- GRFFilePropsBase() : local_id(0), grffile(0)
+ GRFFilePropsBase() : local_id(0), grffile(nullptr)
{
/* The lack of some compilers to provide default constructors complying to the specs
* requires us to zero the stuff ourself. */