Re: [Code] GET_MAX_HIT(ch)/2;

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/17/97


On Wed, 17 Dec 1997, Demond LaZaro wrote:

>1.) I'm trying to divide the max_hit by 2 and am useing:
>       GET_MAX_HIT(ch) = GET_MAX_HIT(ch)/2;
>      Whats wrong with it?

I don't know, you didn't tell us what it does and what you expected.

I'd use GET_MAX_HIT(ch) /= 2; rather than the above, it's more concise.
(Saying nothing about the correctness of either though.)

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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