Fixed null ref in AI

http://dev.mabinoger.com/forum/index.php/topic/823-wolf-ai/