Re: math

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


On Wed, 3 Dec 1997, Matt Hess wrote:

>Program received signal SIGFPE, Arithmetic exception.

Ooooh, divide by 0. :)

>301       condition = GET_OBJ_CSLOTS(obj)*100/GET_OBJ_TSLOTS(obj);

I'd venture that whatever GET_OBJ_TSLOTS(obj) is (sorry, my crystal ball of
scrying is broken) it is 0.

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