fixed infinite loop (by JosephCKohn)


git-svn-id: https://ja2svn.dyndns.org/source/ja2/trunk/GameSource/ja2_v1.13@7104 3b4a5df2-a311-0410-b5c6-a8a6f20db521