diff options
author | Patric Stout <truebrain@openttd.org> | 2021-06-12 17:12:35 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-06-15 19:36:15 +0200 |
commit | 4c4b55ecbdb6206afef7f20d905de2f2a343959a (patch) | |
tree | 3026e60419708cb77d77ce3ddeba2d7decbe84a1 /src/gamelog_internal.h | |
parent | 88edfd4ef16bedd98a07a2142e693ab50fbdcef2 (diff) | |
download | openttd-4c4b55ecbdb6206afef7f20d905de2f2a343959a.tar.xz |
Change: rework GLOG chunk to be more like the rest
Basically it is very similar to Vehicles, where there first is
a type field, followed by data of that type. So this commit makes
it looks like how Vehicles solved that.
This removes a lot of custom "keeping track of length" stuff.
Diffstat (limited to 'src/gamelog_internal.h')
-rw-r--r-- | src/gamelog_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamelog_internal.h b/src/gamelog_internal.h index 2b5c6ed0a..fb7c88e48 100644 --- a/src/gamelog_internal.h +++ b/src/gamelog_internal.h @@ -13,7 +13,7 @@ #include "gamelog.h" /** Type of logged change */ -enum GamelogChangeType { +enum GamelogChangeType : uint8 { GLCT_MODE, ///< Scenario editor x Game, different landscape GLCT_REVISION, ///< Changed game revision string GLCT_OLDVER, ///< Loaded from savegame without logged data |