diff options
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index c3e0de903..512c949a6 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -4334,7 +4334,7 @@ static void DisableStaticNewGRFInfluencingNonStaticNewGRFs(GRFConfig *c) delete c->error; c->status = GCS_DISABLED; c->error = new GRFError(STR_NEWGRF_ERROR_MSG_FATAL, STR_NEWGRF_ERROR_STATIC_GRF_CAUSES_DESYNC); - c->error->data = strdup(_cur_grfconfig->name); + c->error->data = strdup(_cur_grfconfig->GetName()); ClearTemporaryNewGRFData(GetFileByGRFID(c->ident.grfid)); } |