git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@851 c06c8d41-db1a-0410-9941-cceddc491573
SE6T5ILU7BD6ICIOP7BTIQIBNBDEJX3J5OBO7Z2DZA336ETTHYJAC
monster->speed_increment += (monster->speed * you.time_taken) / 10;
// Slow monsters might get 0 here. Maybe we should factor in
// *how* slow it is...but a 10-to-1 move ratio seems more than
// enough.
if ( energy_gained == 0 && monster->speed != 0 )
energy_gained = 1;
monster->speed_increment += energy_gained;