bm ptr is used as hash to lookup a texture, but some textures may have the same bm ptr but different size; so include w,h in hash. Ptr part of hash must be 32 bits; w,h part 16 bits each.
This fixes texture corruption at bottom of invisible mutants on level 3.
bm ptr is used as hash to lookup a texture, but some textures may have the same bm ptr but different size; so include w,h in hash. Ptr part of hash must be 32 bits; w,h part 16 bits each.
This fixes texture corruption at bottom of invisible mutants on level 3.