From 529d7e58bdee7e18f08735219e71f0f832513849 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 17 Apr 2020 00:49:03 -0400 Subject: [PATCH] CFishCloud: Initialize x230_whichModel on construction Provides a deterministic initial state. --- Runtime/World/CFishCloud.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/CFishCloud.hpp b/Runtime/World/CFishCloud.hpp index a26eaef6f..5d8dcc42f 100644 --- a/Runtime/World/CFishCloud.hpp +++ b/Runtime/World/CFishCloud.hpp @@ -80,7 +80,7 @@ class CFishCloud : public CActor { rstl::reserved_vector, 4> x1c4_particleDescs; rstl::reserved_vector, 4> x1f8_particleGens; rstl::reserved_vector x21c_deathParticleCounts; - CModelData::EWhichModel x230_whichModel; + CModelData::EWhichModel x230_whichModel{}; u16 x234_deathSfx; zeus::CVector3f x238_partitionPitch; zeus::CVector3f x244_ooPartitionPitch;