Fix problem of friendly monsters not using any energy when there's

nothing around to fight and they're right next to the player.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2467 c06c8d41-db1a-0410-9941-cceddc491573

Created by  zelgadis  on October 15, 2007
UTGQ25S6K4R2POPYLVF6A5ZU4PRTN3SIR4DL672HERNAE3RZP7AAC
Change contents