Forgot to initialize RightColPix

install-platforms
Lukas Werling 2017-12-22 21:06:30 +01:00
parent 8e2327326b
commit 9970b24375
1 changed files with 1 additions and 0 deletions

View File

@ -2088,6 +2088,7 @@ bool C4Landscape::P::InitBorderPix()
int32_t LeftOpen = std::min(Height, Game.C4S.Landscape.LeftOpen);
int32_t RightOpen = std::min(Height, Game.C4S.Landscape.RightOpen);
LeftColPix.assign(Height, MCVehic);
RightColPix.assign(Height, MCVehic);
for (int32_t cy = 0; cy < LeftOpen; cy++)
LeftColPix[cy] = 0;
for (int32_t cy = 0; cy < RightOpen; cy++)