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.21 by root, Tue Dec 12 20:53:02 2006 UTC vs.
Revision 1.22 by root, Tue Dec 12 21:39:56 2006 UTC

254 if (op->material & M_ICE && MAP_TEMP (m) > 32) 254 if (op->material & M_ICE && MAP_TEMP (m) > 32)
255 destroy = 1; 255 destroy = 1;
256 } 256 }
257 /* adjust overall chance below */ 257 /* adjust overall chance below */
258 if (destroy && rndm (0, 1)) 258 if (destroy && rndm (0, 1))
259 {
260 op->remove ();
261 op->destroy (0); 259 op->destroy ();
262 }
263 } 260 }
264} 261}
265 262
266/* convert materialname to materialtype_t */ 263/* convert materialname to materialtype_t */
267 264

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines