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.27 by root, Wed Dec 20 09:14:21 2006 UTC vs.
Revision 1.28 by root, Tue Dec 26 08:54:59 2006 UTC

1499 CLEAR_FLAG (op, FLAG_ANIMATE); 1499 CLEAR_FLAG (op, FLAG_ANIMATE);
1500 /* so artifacts will join */ 1500 /* so artifacts will join */
1501 if (!QUERY_FLAG (op, FLAG_ALIVE)) 1501 if (!QUERY_FLAG (op, FLAG_ALIVE))
1502 op->speed = 0.0; 1502 op->speed = 0.0;
1503 1503
1504 update_ob_speed (op); 1504 op->set_speed (op->speed);
1505 } 1505 }
1506 1506
1507 if (change->nrof) 1507 if (change->nrof)
1508 op->nrof = RANDOM () % ((int) change->nrof) + 1; 1508 op->nrof = RANDOM () % ((int) change->nrof) + 1;
1509 1509

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines