--- deliantra/server/common/region.C 2007/05/28 21:21:40 1.32
+++ deliantra/server/common/region.C 2007/07/11 16:55:18 1.34
@@ -1,23 +1,22 @@
/*
- * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game.
+ * This file is part of Crossfire TRT, the Roguelike Realtime MORPG.
*
* Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
* Copyright (©) 2001-2003,2007 Mark Wedel & Crossfire Development Team
* Copyright (©) 1992,2007 Frank Tore Johansen
*
- * Crossfire TRT is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Crossfire TRT is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*
* The authors can be reached via e-mail to
*/
@@ -200,7 +199,6 @@
case KW_msg: f.get_ml (KW_endmsg, rgn->msg); break;
case KW_longname: f.get (rgn->longname); break;
- case KW_match: f.get (rgn->match); break;
case KW_jail_map: f.get (rgn->jailmap); break;
case KW_jail_x: f.get (rgn->jailx); break;
case KW_jail_y: f.get (rgn->jaily); break;
@@ -232,6 +230,11 @@
regions.push_back (rgn);
return rgn;
+ case KW_ERROR:
+ rgn->set_key (f.kw_str, f.value);
+ //fprintf (stderr, "region addkv(%s,%s)\n", f.kw_str, f.value);//D
+ break;
+
default:
if (!f.parse_error ("region", rgn->name))
{