-Fix a couple bugs calculating stepping values.

git-svn-id: http://odamex.net/svn/root/branches/persdiv@3687 b0bcef46-2027-0410-bd56-ab726e9a1d04
Merge remote-tracking branch 'persdiv' into 32bpp-persdiv