Another fix for the bug that let item/weapon spawn at the surface of a pit.
This is the new function dropweapon,
I copy something from function spawn, just check wall and paltforms like its new spawned, if spawn code is correct, the drop code should be correct.