Stupid integer problem.

From: Tony Robbins [Kupek] (tonyr@NWPACLINK.COM)
Date: 08/19/98


Hi.

I'm trying to make a function that will get the zone number of a mob,
object, or room.

Room is easy, but if I were to use the same basis, I would have to hope
that objects and mobs follow the same "top_of_zone" phenomena.

Anyway, does anybody have code that takes a mob, object, or room and
returns their zone number.  (room is easy)

I tried doing it with math, but my integerized longs convert 29.5 to 29.
:P

[-------------------------------------------]
  Tony Robbins, <tonyr@nwpaclink.com>
  LakeView Technologies, Inc.
[-------------------------------------------]


     +------------------------------------------------------------+
     | 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/15/00 PST