Fix #4633

http://springrts.com/mantis/view.php?id=4633