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.61 by root, Tue Jul 10 05:51:37 2007 UTC vs.
Revision 1.62 by root, Tue Jul 10 07:31:20 2007 UTC

212{ 212{
213 for (materialtype_t *mt = materialt; mt && mt->next; mt = mt->next) 213 for (materialtype_t *mt = materialt; mt && mt->next; mt = mt->next)
214 if (name == mt->name) 214 if (name == mt->name)
215 return mt; 215 return mt;
216 216
217 return materialt; 217 return 0;
218} 218}
219 219
220/* when doing transmutation of objects, we have to recheck the resistances, 220/* when doing transmutation of objects, we have to recheck the resistances,
221 * as some that did not apply previously, may apply now. 221 * as some that did not apply previously, may apply now.
222 */ 222 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines