mirror of https://github.com/OpenRCT2/OpenRCT2.git
Return false if there was no space for supports
This commit is contained in:
parent
3ff3db13f4
commit
30fa5851e5
|
@ -517,7 +517,7 @@ bool metal_a_supports_paint_setup(int supportType, int segment, int special, int
|
||||||
if (height <= gSupportSegments[newSegment].height) {
|
if (height <= gSupportSegments[newSegment].height) {
|
||||||
esi += 72;
|
esi += 72;
|
||||||
newSegment = esi[segment * 8];
|
newSegment = esi[segment * 8];
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue