[crossfire] Re: [Crossfire-cvs] CVS commit: client

Nicolas Weeger nicolas.weeger at laposte.net
Sun Jan 8 12:25:25 CST 2006


> This check does not make sense to me: the variable i is a unsigned
> variable. Therefore the value never is negative, hence this code will
> never be executed.

IIRC, I made a check because there were cases where the count actually
was negative. But that may be before I fixed some things.
I definitely had issues with a large items number, client would just
crash because of that function (negative value => invalid array index).

Nicolas



More information about the crossfire mailing list