(svn r20671) -Add: feature F (not action F as written mistakenly in the previous message) support for the scenario editor

This commit is contained in:
rubidium
2010-08-28 19:45:56 +00:00
parent 7b16c7650b
commit c862ab42c9
6 changed files with 37 additions and 33 deletions

View File

@@ -69,6 +69,10 @@ void ResetObjects()
/* And add our originals. */
MemCpyT(_object_specs, _original_objects, lengthof(_original_objects));
for (uint16 i = 0; i < lengthof(_original_objects); i++) {
_object_specs[i].grf_prop.local_id = i;
}
}
template <typename Tspec, typename Tid, Tid Tmax>