Re: About portal...

From: George (greerga@MIAVX1.ACS.MUOHIO.EDU)
Date: 07/14/97


On Mon, 14 Jul 1997 lsdinc@ELKNET.NET wrote:

>i have no idea, i am still waiting for some help/an answer...

Limits.c:

  /* objects */
  for (j = object_list; j; j = next_thing) {
    next_thing = j->next;       /* Next in object list */

    if (j && GET_OBJ_VNUM(j) == 31) /* A portal */
    {
      if (GET_OBJ_VAL(j,0) > 0)
        GET_OBJ_VAL(j,0)--;
      if (GET_OBJ_VAL(j,0) == 1)
      {
[snip]

That's how my point_update() goes through the portal code.  I didn't change
it much at all otherwise.

GDB output is really helpful in these situations if you can.

-George


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