mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix uninitialised value in testpaint
This commit is contained in:
parent
b54cb2ca8a
commit
053945034a
|
@ -59,7 +59,7 @@ namespace Intercept2
|
||||||
call.height = -1;
|
call.height = -1;
|
||||||
call.slope = -1;
|
call.slope = -1;
|
||||||
|
|
||||||
support_height referenceSupport;
|
support_height referenceSupport = { 0 };
|
||||||
|
|
||||||
for (int i = 0; i < 9; i++) {
|
for (int i = 0; i < 9; i++) {
|
||||||
if (positionsRemaining & segment_offsets[i]) {
|
if (positionsRemaining & segment_offsets[i]) {
|
||||||
|
|
Loading…
Reference in New Issue