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

Comparing deliantra/server/common/utils.C (file contents):
Revision 1.30 by root, Mon Dec 25 14:43:23 2006 UTC vs.
Revision 1.31 by root, Mon Dec 25 14:54:44 2006 UTC

255 destroy = 1; 255 destroy = 1;
256 if ((op->material & M_STONE || op->material & M_ADAMANT) && rndm (1, 10) == 1) 256 if ((op->material & M_STONE || op->material & M_ADAMANT) && rndm (1, 10) == 1)
257 destroy = 1; 257 destroy = 1;
258 if ((op->material & M_SOFT_METAL || op->material & M_BONE) && rndm (1, 3) == 1) 258 if ((op->material & M_SOFT_METAL || op->material & M_BONE) && rndm (1, 3) == 1)
259 destroy = 1; 259 destroy = 1;
260 if (op->material & M_ICE && MAP_TEMP (m) > 32) 260 if (op->material & M_ICE && m->temp > 32)
261 destroy = 1; 261 destroy = 1;
262 } 262 }
263 /* adjust overall chance below */ 263 /* adjust overall chance below */
264 if (destroy && rndm (0, 1)) 264 if (destroy && rndm (0, 1))
265 op->destroy (); 265 op->destroy ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines