Initialize variable (#15979)

Found it could be uninitialized in launchpad builds
This commit is contained in:
Michał Janiszewski authored and GitHub committed 2021-11-23 16:31:09 +00:00
1 parent b86dfeca4e
commit 9a32dd90eb
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}