From 498c9404798cf439bbdc8e47c87e5cc242c664d1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 13 Apr 2020 16:25:34 -0400 Subject: [PATCH] CFluidPlane: Initialize all members of SRippleInfo Provides a deterministic initial state, which is useful for debugging. --- Runtime/World/CFluidPlane.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Runtime/World/CFluidPlane.hpp b/Runtime/World/CFluidPlane.hpp index 4bb69e546..817ed97fe 100644 --- a/Runtime/World/CFluidPlane.hpp +++ b/Runtime/World/CFluidPlane.hpp @@ -84,10 +84,10 @@ public: struct SRippleInfo { const CRipple& x0_ripple; - int x4_fromX; - int x8_toX; - int xc_fromY; - int x10_toY; + int x4_fromX = 0; + int x8_toX = 0; + int xc_fromY = 0; + int x10_toY = 0; int x14_gfromX; int x18_gtoX; int x1c_gfromY;