1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix #3326: Match original implementation of sub_67933B

This commit is contained in:
Marijn van der Werf
2016-04-18 09:21:44 +02:00
parent 24eaa0a56d
commit 6b951400a5

View File

@@ -2739,7 +2739,10 @@ static bool sub_67933B_679788_679C4A_67A117(uint8 *esi, sint16 x_start_point, si
}
}
if (ceil2(no_pixels, round) == 0) continue;
if (round > 1) {
// This matches the original implementation, but allows empty lines to cause false postives on zoom 0
if (ceil2(no_pixels, round) == 0) continue;
}
return true;
}