CFluidPlane: Initialize all members of SRippleInfo

Provides a deterministic initial state, which is useful for debugging.
This commit is contained in:
Lioncash 2020-04-13 16:25:34 -04:00
parent 5b9a689703
commit 498c940479
1 changed files with 4 additions and 4 deletions

View File

@ -84,10 +84,10 @@ public:
struct SRippleInfo { struct SRippleInfo {
const CRipple& x0_ripple; const CRipple& x0_ripple;
int x4_fromX; int x4_fromX = 0;
int x8_toX; int x8_toX = 0;
int xc_fromY; int xc_fromY = 0;
int x10_toY; int x10_toY = 0;
int x14_gfromX; int x14_gfromX;
int x18_gtoX; int x18_gtoX;
int x1c_gfromY; int x1c_gfromY;