First of many no doubt....
BTW - I've amended the title of the bug because the problem only occurs for pits that are created at run-time (e.g. as a result of "converting-to" a pit) rather than pits in general. Even then, it only applies to items that existed on the tile before the pit was created; subsequent items that land there will go down the pit as expected.
Just as a general aside, creating pits at run time is a really bad idea for all sorts of other reasons (not least of which being that the dungeon designer has to cope with them being created on any accesible tile and therefore must take steps to very carefully design a dungeon to limit the places where they can be created, to prevent dropping out the bottom of the dungeon or into a wall!).
It wouldn't surprise me if there were a load of other bugs when using pits like this - on the other hand, it does make a good demo function, which is why it's in there in the first place
