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.56 by root, Sat Apr 21 22:12:59 2007 UTC vs.
Revision 1.57 by root, Tue Apr 24 00:42:02 2007 UTC

371 fix_generated_item (tmp, op, difficulty, t->magic, flag); 371 fix_generated_item (tmp, op, difficulty, t->magic, flag);
372 change_treasure (t, tmp); 372 change_treasure (t, tmp);
373 put_treasure (tmp, op, flag); 373 put_treasure (tmp, op, flag);
374 } 374 }
375 } 375 }
376}
377
378void
379object::create_treasure (treasurelist *tl, int flags)
380{
381 ::create_treasure (tl, this, flags, map ? map->difficulty : 0);
376} 382}
377 383
378/* This calls the appropriate treasure creation function. tries is passed 384/* This calls the appropriate treasure creation function. tries is passed
379 * to determine how many list transitions or attempts to create treasure 385 * to determine how many list transitions or attempts to create treasure
380 * have been made. It is really in place to prevent infinite loops with 386 * have been made. It is really in place to prevent infinite loops with

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines