Difference for server/init.c from version 1.70 to 1.71


version 1.70 version 1.71
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.70 2005/12/05 23:34:04 akirschbaum Exp $";   *   "$Id: init.c,v 1.71 2006/01/08 16:31:18 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 333
 
Line 333
     FILE    *fp;      FILE    *fp;
   
     sprintf(buf,"%s/settings",settings.confdir);      sprintf(buf,"%s/settings",settings.confdir);
       settings.no_player_stealing = TRUE;
   
     /* We don't require a settings file at current time, but down the road,      /* We don't require a settings file at current time, but down the road,
      * there will probably be so many values that not having a settings file       * there will probably be so many values that not having a settings file
      * will not be a good thing.       * will not be a good thing.
Line 660
 
Line 662
  LOG(llevError, "load_settings: unknown value for armor_speed_linear: %s\n", cp);   LOG(llevError, "load_settings: unknown value for armor_speed_linear: %s\n", cp);
         }          }
   
       } else if ( !strcasecmp( buf, "no_player_stealing" ) ) {
        if (!strcasecmp(cp, "on") || !strcasecmp(cp, "true")) {
    settings.no_player_stealing = TRUE;
        } else if (!strcasecmp(cp, "off") || !strcasecmp(cp, "false")) {
    settings.no_player_stealing = FALSE;
        } else {
    LOG(llevError, "load_settings: unknown value for no_player_stealing: %s\n", cp);
           }
   
     } else {      } else {
      LOG(llevError,"Unknown value in settings file: %s\n", buf);       LOG(llevError,"Unknown value in settings file: %s\n", buf);
  }   }


Legend:
line(s) removed in v.1.70 
line(s) changed
 line(s) added in v.1.71

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:33