Tileset Bug (SDL/Pixman BMP handler broken)

I've found this bug, and I know the reason,
if in the chipset folder there is
2 tilesets with the same name (for example)
cave.png
cave.bmp

In easy appear like this: and in 2k3 only read 1 chipset and look well.

![](http://img607.imageshack.us/img607/8577/88666356.png)