(svn r22975) -Codechange: Do not store Group::num_vehicle in the savegame, but compute it like num_engines on load.

This commit is contained in:
frosch
2011-10-03 17:19:54 +00:00
parent decf5c67ea
commit 7133887ed6
2 changed files with 3 additions and 1 deletions

View File

@@ -17,7 +17,7 @@
static const SaveLoad _group_desc[] = {
SLE_CONDVAR(Group, name, SLE_NAME, 0, 83),
SLE_CONDSTR(Group, name, SLE_STR, 0, 84, SL_MAX_VERSION),
SLE_VAR(Group, num_vehicle, SLE_UINT16),
SLE_CONDNULL(2, 0, 163), // num_vehicle
SLE_VAR(Group, owner, SLE_UINT8),
SLE_VAR(Group, vehicle_type, SLE_UINT8),
SLE_VAR(Group, replace_protection, SLE_BOOL),