Closed GrimSqueaker closed 3 years ago
There will probably be a problem with the signed / unsigned int. I'll look into it, Tom.
&x_DWORD_E9C38_smalltit[45920] or (&x_DWORD_E9C38_smalltit + 59360) array is different with original - bad initialization in sub_56A30_init_game_level->sub_43830_generate_level_map->sub_44E40 x_DWORD_E9C38_smalltit + 59360 mixed with x_BYTE_13B4E0_angle
fixed! bug is in another part of code - in sub_41BD3_subDrawSprite is bad adress (&x_DWORD_E9C38_smalltit + 59360) changed to (x_DWORD_E9C38_smalltit + 59360) Tom.
When tilting the screen sprites disappear. See the screenshot in which villagers should be visible in the front and not just the background.
Git bisect helped to find that it was introduced in the following range of commits:
I cannot narrow it down further, because the intermediate commits do not compile successfully on Linux.