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.12 by root, Mon Sep 4 13:55:54 2006 UTC vs.
Revision 1.13 by root, Tue Sep 5 17:58:11 2006 UTC

1 1
2/* 2/*
3 * static char *rcs_treasure_c = 3 * static char *rcs_treasure_c =
4 * "$Id: treasure.C,v 1.12 2006/09/04 13:55:54 root Exp $"; 4 * "$Id: treasure.C,v 1.13 2006/09/05 17:58:11 root Exp $";
5 */ 5 */
6 6
7/* 7/*
8 CrossFire, A Multiplayer game for X-windows 8 CrossFire, A Multiplayer game for X-windows
9 9
420 return; 420 return;
421 421
422 if (t->nrof && tmp->nrof <= 1) 422 if (t->nrof && tmp->nrof <= 1)
423 tmp->nrof = RANDOM () % ((int) t->nrof) + 1; 423 tmp->nrof = RANDOM () % ((int) t->nrof) + 1;
424 424
425// fix_generated_item (tmp, op, difficulty, t->magic, flag); 425 fix_generated_item (tmp, op, difficulty, t->magic, flag);
426// change_treasure (t, tmp); 426 change_treasure (t, tmp);
427 put_treasure (tmp, op, flag); 427 put_treasure (tmp, op, flag);
428 } 428 }
429} 429}
430 430
431/* This calls the appropriate treasure creation function. tries is passed 431/* This calls the appropriate treasure creation function. tries is passed

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines