Re: Portal Spell Prob

From: Skylar (skylar@ifconfig.intserv.com)
Date: 07/24/96


On Tue, 23 Jul 1996 linebacker@microlink.net wrote:

> When I try to compile, limits.c gives me the following
> error:
> 
> In function 'point_update':
> limits.c:447 'obj_index' undeclared (first blah blah
> 
> Here is what my line 447 reads:
> 
> if (GET_OBJ_VNUM(j) == 31)

GET_OBJ_VNUM expands (roughly) to 'obj_index[GET_OBJ(obj)].virtual' 
obj_index is a global which you need to declare before you try to
use... add this line with the other externs at the top of limits.c:

extern struct index_data *obj_index;

...and you'll be fine



-Sky

ImpMUD    -  circle-coders.intserv.com (207.8.156.36) 9000
Exile     -  exile-rp.intserv.com  (207.8.156.59)     4000
Angstland -  angry.infowar.com (207.8.156.??)         4000



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