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

Comparing deliantra/server/common/treasure.C (file contents):
Revision 1.124 by root, Sat Dec 1 20:22:12 2018 UTC vs.
Revision 1.125 by root, Sat Oct 8 21:54:05 2022 UTC

221 { 221 {
222 for (treasure *t = tl->items; t; t = t->next) 222 for (treasure *t = tl->items; t; t = t->next)
223 { 223 {
224 if (t->next_yes || t->next_no) 224 if (t->next_yes || t->next_no)
225 { 225 {
226 LOG (llevError, "Treasure %s is one item, but on treasure %s\n", &tl->name, t->item ? &t->item->archname : &t->name); 226 LOG (llevError, "Treasure %s is one item, but on treasure %s%s\n",
227 &tl->name,
228 t->item ? "item " : "",
229 t->item ? &t->item->archname : &t->name);
227 LOG (llevError, " the next_yes or next_no field is set\n"); 230 LOG (llevError, " the next_yes or next_no field is set\n");
228 } 231 }
229 232
230 tl->total_chance += t->chance; 233 tl->total_chance += t->chance;
231 } 234 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines