diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h --- a/src/newgrf_commons.h +++ b/src/newgrf_commons.h @@ -309,7 +309,7 @@ bool Convert8bitBooleanCallback(const st */ template 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. */