Re: Msvc warnings

From: Hellfire (bonecrusher@cyberdude.com)
Date: 06/27/99


Actually i should have included the beginning of  void reset zone:

void reset_zone(int zone)
{
  int cmd_no, last_cmd = 0;
  struct char_data *mob = NULL;
  struct obj_data *obj, *obj_to;
  int room_vnum, room_rnum;
  int mob_load = FALSE; /* ### */
  int obj_load = FALSE; /* ### */
  struct char_data *tmob=NULL; /* for trigger assignment */
  struct obj_data *tobj=NULL;  /* for trigger assignment */


  for (cmd_no = 0; ZCMD.command != 'S'; cmd_no++) {

    if (ZCMD.if_flag && !last_cmd && !mob_load && !obj_load)
      continue;

    if (!ZCMD.if_flag) { /* ### */
      mob_load = FALSE;
      obj_load = FALSE;
    }

HF


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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