Add assert to check whether address is ever reached

This commit is contained in:
Marijn van der Werf 2016-02-28 12:28:52 +01:00
parent bf7092e2f9
commit dbd3c4942c
1 changed files with 1 additions and 0 deletions

View File

@ -2649,6 +2649,7 @@ void sub_679236(uint32 ebx, rct_g1_element *image, uint8 *esi) {
}
} else if (!(ebx & 0x40000000)) {
if (!(image->flags & 1)) {
assert(false);
RCT2_GLOBAL(0x00141F569, uint8) = 1;
return;
}