diff options
author | smatz <smatz@openttd.org> | 2009-09-20 23:11:01 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-20 23:11:01 +0000 |
commit | 114d48e492cc38644c0c020c6a30ab6c57179862 (patch) | |
tree | 80044362459c1f30b75b8eb8d9020f318d3ce5fb /src/saveload | |
parent | e07efc2370b0c846f792a4f5d3f8695c21895583 (diff) | |
download | openttd-114d48e492cc38644c0c020c6a30ab6c57179862.tar.xz |
(svn r17596) -Codechange: constify some tables
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/gamelog_sl.cpp | 2 | ||||
-rw-r--r-- | src/saveload/vehicle_sl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/gamelog_sl.cpp b/src/saveload/gamelog_sl.cpp index a77a930ed..dc0bebc5d 100644 --- a/src/saveload/gamelog_sl.cpp +++ b/src/saveload/gamelog_sl.cpp @@ -87,7 +87,7 @@ static const SaveLoad _glog_emergency_desc[] = { SLE_END() }; -static const SaveLoad *_glog_desc[] = { +static const SaveLoad * const _glog_desc[] = { _glog_mode_desc, _glog_revision_desc, _glog_oldver_desc, diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index b71d7058b..b6043f62b 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -669,7 +669,7 @@ const SaveLoad *GetVehicleDescription(VehicleType vt) }; - static const SaveLoad *_veh_descs[] = { + static const SaveLoad * const _veh_descs[] = { _train_desc, _roadveh_desc, _ship_desc, |