forked from rosebudai/OpenRCT2-Web
Initialize variable (#15979)
Found it could be uninitialized in launchpad builds
This commit is contained in:
1 parent
b86dfeca4e
commit
9a32dd90eb
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user