some calculations will be above 999999, so just do it this way; the end result doesn't matter anyway as we just need the minimum

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10005 387891d4-d844-0410-90c0-e4c51a9137d3