mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Initialize variable (#15979)
Found it could be uninitialized in launchpad builds
This commit is contained in:
committed by
GitHub
parent
b86dfeca4e
commit
9a32dd90eb
@@ -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