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

Comparing deliantra/server/common/material.C (file contents):
Revision 1.3 by root, Thu Nov 5 15:43:21 2009 UTC vs.
Revision 1.4 by root, Tue Nov 10 00:01:31 2009 UTC

171 171
172 return mt; 172 return mt;
173} 173}
174 174
175//-GPL 175//-GPL
176
177const materialtype_t *
178object::dominant_material () const
179{
180 if (materialtype_t *mt = name_to_material (materialname))
181 return mt;
182
183 return name_to_material (shstr_unknown);
184}
176 185
177void 186void
178load_materials (void) 187load_materials (void)
179{ 188{
180 char filename[MAX_BUF]; 189 char filename[MAX_BUF];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines