replace more function calls with variables
fix http://www.forum.birth-of-the-empires.de/viewtopic.php?f=68&t=2524&p=33068#p33068
remove unneeded sector parameter