ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/init.C
(Generate patch)

Comparing deliantra/server/server/init.C (file contents):
Revision 1.19 by root, Sun Dec 17 23:10:35 2006 UTC vs.
Revision 1.20 by root, Mon Dec 18 02:35:01 2006 UTC

760 else 760 else
761 { 761 {
762 LOG (llevError, "load_settings: Unknown value for " "real_wiz: %s\n", cp); 762 LOG (llevError, "load_settings: Unknown value for " "real_wiz: %s\n", cp);
763 } 763 }
764 } 764 }
765 else if (!strcasecmp (buf, "recycle_tmp_maps"))
766 {
767 if (!strcasecmp (cp, "on") || !strcasecmp (cp, "true"))
768 {
769 settings.recycle_tmp_maps = TRUE;
770 }
771 else if (!strcasecmp (cp, "off") || !strcasecmp (cp, "false"))
772 {
773 settings.recycle_tmp_maps = FALSE;
774 }
775 else
776 {
777 LOG (llevError, "load_settings: Unknown value for " "recycle_tmp_maps: %s\n", cp);
778 }
779 }
780 else if (!strcasecmp (buf, "explore_mode")) 765 else if (!strcasecmp (buf, "explore_mode"))
781 { 766 {
782 if (!strcasecmp (cp, "on") || !strcasecmp (cp, "true")) 767 if (!strcasecmp (cp, "on") || !strcasecmp (cp, "true"))
783 { 768 {
784 settings.explore_mode = TRUE; 769 settings.explore_mode = TRUE;
1009 else 994 else
1010 { 995 {
1011 LOG (llevError, "Unknown value in settings file: %s\n", buf); 996 LOG (llevError, "Unknown value in settings file: %s\n", buf);
1012 } 997 }
1013 } 998 }
999
1014 close_and_delete (fp, comp); 1000 close_and_delete (fp, comp);
1015} 1001}
1016 1002
1017 1003
1018/* 1004/*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines