Re: Jesus walked on water...

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 10/15/97


On Wed, 15 Oct 1997, John Evans wrote:

>Yeah... There may be a few minor flaws about objects sinking or not, but
>I'm not going to be so anal about things like that and code in a flag or
>somesuch for ITEM_WILL_FLOAT. :)

if (GET_OBJ_WEIGHT(obj) == 0)
  ...

Things like paper I believe are set to 0 weight.  I figure anything that
weighs 1 or more will sink and this way doesn't require another flag.
(Although you could create an anvil with weight zero and make it sink.)

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