On Sat, 20 Sep 1997, David Klasinc wrote:
> This might sound newbish, but when I hang a spec to one certain object,
> how do I get to it's VNUM in the spec? *blink*
>
In utils.h I have:
#define GET_OBJ_VNUM(obj) (GET_OBJ_RNUM(obj) >= 0 ? \
obj_index[GET_OBJ_RNUM(obj)].virtual : -1)
I have added tons of useful macros to utils.h, so I don't remember if
this is a stock one or not.
Hope it helps....
John Evans
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