On Wed, 1 Oct 1997, Chris Jacobson wrote: > On 10/1/97 6:27 PM, John Evans (evansj@HI-LINE.NET) stated: > > >int hands_full(struct char_data *ch) > >{ [snip] > >} > > > faster? method > > #define NUM_HAND_POSITIONS (5) > int hand_position[NUM_HAND_POSITIONS] = { > [snip] > } > int hands_full(struct char_data *ch) { > [snip] > } > Ohh.. Yes, quite a bit faster, and easier to read as well. Thank you!! John Evans <evansj@hi-line.net> May the source be with you. +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST