summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-28 18:21:09 +0000
committerrubidium <rubidium@openttd.org>2010-08-28 18:21:09 +0000
commit23ba40d3851c1a0e47369cec78a33417a5260590 (patch)
treedc08ca7de1dc3a7c1bcc6f909955cc2475501ab2 /src/newgrf_commons.cpp
parent3a9f54a4f88545f76ea6244b64bebad4a893a289 (diff)
downloadopenttd-23ba40d3851c1a0e47369cec78a33417a5260590.tar.xz
(svn r20654) -Codechange: implement reading action0 of objects
Diffstat (limited to 'src/newgrf_commons.cpp')
-rw-r--r--src/newgrf_commons.cpp1
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]);
}
/**