diff options
author | rubidium <rubidium@openttd.org> | 2010-11-10 17:01:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-10 17:01:29 +0000 |
commit | 0f5c1e2eaffe753aca3857c434d88832772ad5ad (patch) | |
tree | 646f6eee27ca320ecc32e037013d969aecdcc2ce | |
parent | 15defb219f44738cf301d494a16576dffca26de3 (diff) | |
download | openttd-0f5c1e2eaffe753aca3857c434d88832772ad5ad.tar.xz |
(svn r21128) -Fix [FS#4208]: Crash when disabling static NewGRFs (when joining/starting a server)
-rw-r--r-- | src/newgrf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index cfec0dd8d..47acb389e 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -7134,6 +7134,7 @@ static void InitNewGRFFile(const GRFConfig *config, int sprite_offset) newfile->filename = strdup(config->filename); newfile->sprite_offset = sprite_offset; + newfile->grfid = config->ident.grfid; /* Initialise local settings to defaults */ newfile->traininfo_vehicle_pitch = 0; |