Mark Gerritsen wrote:
>
> At 01:39 PM 6/15/98 +0000, you wrote:
> > /*
> > check target room for legality.
> > */
> > rp = &world[ch->in_room];
> > tmp_obj = read_object(PORTAL, VIRTUAL); <---- line 438? PORTAL
> > if (!rp || !tmp_obj) {
> > send_to_char("The magic fails\n\r", ch);
> > extract_obj(tmp_obj);
> > return;
> > }
>
> >The Error is,
> >spells.c (438) : error C2065 'portal' ; undeclared identifier.
>
> My guess is you need to add
> #define PORTAL 1234
> where 1234 is the vnum of the item you want to use as portal.
>
> Havoc of Dagmarck (Mark Gerritsen)
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
> +------------------------------------------------------------+
I thought this was a portal spell? Why would I need a Obj?
Sory I am new to this. and without a manual I'm running blind.
What file should I add the #define?
+------------------------------------------------------------+
| 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