[cod] Iron Sights Bug: fixed.
Maverick
me83143 at earthlink.net
Mon Mar 29 14:31:41 EST 2004
I knew you'd come through. Thanks again for all your hard work and the
fix! I've tried it out and it works like a charm.
Maverick
clanselite.com
Ryan C. Gordon wrote:
>Okay guys, please try these binaries and see if it helps:
>
> http://icculus.org/~icculus/tmp/COD-lnxded-1.3-ironsights.tar.bz2
>
>There was an integer overflow in the random number generator code
>(apparently RAND_MAX is higher in glibc than Microsoft's C runtime?),
>which caused the gun to fire strangely.
>
>The .pk3 fix going around wasn't really fixing the problem so much as
>masking it. You should remove it before using this build, or your guns
>may be strange in the opposite direction (plus you don't need your
>clients to install the .pk3 anymore).
>
>This SHOULD fix it, but since there were a few unrelated places using
>the same code to get random numbers, please don't blast it out to all
>your production servers without a little testing, in case some new bug
>shows up. This one hasn't gone through any QA at all.
>
>Comments welcome.
>
>--ryan.
>
>
>
>
>
More information about the Cod
mailing list