diff options
author | rubidium <rubidium@openttd.org> | 2010-08-28 18:21:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-28 18:21:09 +0000 |
commit | 23ba40d3851c1a0e47369cec78a33417a5260590 (patch) | |
tree | dc08ca7de1dc3a7c1bcc6f909955cc2475501ab2 /src/newgrf_commons.cpp | |
parent | 3a9f54a4f88545f76ea6244b64bebad4a893a289 (diff) | |
download | openttd-23ba40d3851c1a0e47369cec78a33417a5260590.tar.xz |
(svn r20654) -Codechange: implement reading action0 of objects
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]); } /** |