diff options
author | Patric Stout <truebrain@openttd.org> | 2021-06-06 23:23:12 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-06-15 16:45:04 +0200 |
commit | a146bcfe93a6c913781cfe471166359e744195d7 (patch) | |
tree | 1c4d5065705dfe540620ca974214bf36664a5361 /src/lang/croatian.txt | |
parent | d0bcb9839a9080326ade985e4b109752fd88e2a6 (diff) | |
download | openttd-a146bcfe93a6c913781cfe471166359e744195d7.tar.xz |
Change: store length of SL_STRUCTLIST in the savegame
This wasn't consistently done, and often variables were used that
were read by an earlier blob. By moving it next to the struct
itself, the code becomes a bit more self-contained and easier to
read.
Additionally, this allows for external tooling to know how many
structs to expect, instead of having to know where to find the
length-field or a hard-coded value that can change at any moment.
Diffstat (limited to 'src/lang/croatian.txt')
0 files changed, 0 insertions, 0 deletions