At the beginning of GameUpdateAndRender, the Bitmap pointer is advanced after loading the head, cape, torso and alignment correctionsfor each of the directions. Although advancing it for the first three is necessary, once the fourth direction is set, why is it advanced again? (line 308 in handmade.cpp on both days 39 and 40)
At first I thought it was just so that if more directions are added at some other time you will already have it advanced. But the length of hero_bitmaps array in GameState would need to be modified so it doesn't seem like it saves any extra work.
So, am I missing something or is it just copy pasta?