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

Comparing deliantra/server/common/loader.C (file contents):
Revision 1.160 by root, Thu May 6 22:58:03 2010 UTC vs.
Revision 1.162 by root, Fri May 21 00:31:13 2010 UTC

265 type = 0; 265 type = 0;
266 } 266 }
267 267
268 switch (type) 268 switch (type)
269 { 269 {
270 case RANGED:
270 case BOW: 271 case BOW:
271 case WAND: 272 case WAND:
272 case ROD: 273 case ROD:
273 case HORN: 274 case HORN:
274 if (slot [body_range].info != -1) 275 if (slot [body_range].info != -1)
1112 * override values and in c_wiz to mutate values. 1113 * override values and in c_wiz to mutate values.
1113 */ 1114 */
1114int 1115int
1115set_variable (object *op, char *buf) 1116set_variable (object *op, char *buf)
1116{ 1117{
1117 object_thawer f (buf, (AV *)0); 1118 object_thawer f (format ("%s\nend", buf), (AV *)0);
1118 1119
1119 return op->parse_kv (f); 1120 return op->parse_kv (f);
1120} 1121}
1121 1122
1122// compare *op against *arch and output differences 1123// compare *op against *arch and output differences

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines