diff --git a/src/openrct2/ParkFile.cpp b/src/openrct2/ParkFile.cpp index 5529f05915..c5bc7a60c0 100644 --- a/src/openrct2/ParkFile.cpp +++ b/src/openrct2/ParkFile.cpp @@ -1931,7 +1931,7 @@ namespace OpenRCT2 cs.ReadWrite(thought.type); if (version <= 2) { - int16_t item; + int16_t item{}; cs.ReadWrite(item); thought.item = item; }