--- deliantra/server/common/treasure.C 2009/11/10 04:38:45 1.93 +++ deliantra/server/common/treasure.C 2009/11/16 22:31:13 1.95 @@ -1210,8 +1210,8 @@ if (!strcmp (f.get_str (), "all")) break; - char *next, *cp = f.get_str (); - + const char *cp = f.get_str (); + char *next; do { if ((next = strchr (cp, ','))) @@ -1467,7 +1467,7 @@ if (change->materials) op->materials = change->materials; - if (change->material != &material_null) + if (change->material != MATERIAL_NULL) op->material = change->material; if (change->slaying)