diff options
Diffstat (limited to 'src/newgrf_commons.cpp')
-rw-r--r-- | src/newgrf_commons.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp index 91a449987..6521a39f7 100644 --- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -317,6 +317,7 @@ void ObjectOverrideManager::SetEntitySpec(ObjectSpec *spec) /* Now that we know we can use the given id, copy the spec to its final destination. */ memcpy(&_object_specs[type], spec, sizeof(*spec)); + ObjectClass::Assign(&_object_specs[type]); } /** |