Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CF: "pickup all" seems to give me "pickup all and stop"



Tero Kivinen writes:
 > Just use the "pickup all and stop", and it will pickup all and
 > continue... 

Yep, you're right, thanks (somehow the logic here cracks me up; should 
have tried it myself).

Looking at the code it is hard to say where the fix goes, since the
mode is stored internally as a number (instead of a constant such as
PICK_UP_ALL_STOP), and hence carries no intrinsic meaning. Either the
order of the two options in the client needs to be rearranged or, in
the server directory, in "player.c", about line 856, change:

                return (op->contr->mode != 4 ? 1 : 0);

to

		return (op->contr->mode != 5 ? 1 : 0);

I think it's easier from the client side; better not to change server
behaviour if it's not necessary. David?

-- 
                                                         Maciej Kalisiak
"Linux. Where do you want to go                      mac@dgp.utoronto.ca
tomorrow?"                                         mac@elecom97.mail.net
                                               www.eecg.utoronto.ca/~mac
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]