Re: [Circle] [CODE] Portal Spell

From: The Chuckster (wcarson@umr.edu)
Date: 11/29/96


> 
> I tried to install the portal spell in limits.c
> I got this fun error:
> 
> limits.c: In function `point_update':
> limits.c:471: `obj_index' undeclared (first use this function)
> limits.c:471: (Each undeclared identifier is reported only once
> limits.c:471: for each function it appears in.)
> 
> Does this mean I've put the code in the wrong place?
> The mud is throwing a fit when the code reads:
> GET_OBJ_VNUM(j)
> 
> So, I couldn't figure out where obj_index was, until I looked in
> utils.h...And it's part of the code to get the vnum...but I don't
> understand why it's not workin...Everything looked ok
> 
> If anyone knows what the problem might be, I'd really love some help:)
> Thanks,
> 	-Alex:)
> 
That piece of code does not ring a bell but you may need an extern prototype.
(you should see many of them at the top of each file)

Good Luck,

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST