I just rewrote Computer player door placing code.
Please test if it works OK - the new code is available since r844.
Also, there are some things which should probably be a bit optimized:
- Computer player prefers wooden door, and will place other kinds only if wooden are depleted
- Computer player will only place doors around rooms
- Computer placed doors only on corridors which are on straight line to central tile of the room
If anyone has a concept of how these should be fixed, feel free to comment. If anyone would like to implement changes in computer_check_for_place_door() - also feel free to do so.