… | |
… | |
330 | |
330 | |
331 | if (!name_pl) |
331 | if (!name_pl) |
332 | name_pl = name; |
332 | name_pl = name; |
333 | |
333 | |
334 | /* objects now have a materialname. try to patch it in */ |
334 | /* objects now have a materialname. try to patch it in */ |
335 | if (material == &material_null && !(is_weapon () && level > 0)) |
335 | if (material == MATERIAL_NULL && !(is_weapon () && level > 0)) |
336 | select_material (this, map ? map->difficulty : 5); |
336 | select_material (this, map ? map->difficulty : 5); |
337 | |
337 | |
338 | /* only do these when program is first run - a bit |
338 | /* only do these when program is first run - a bit |
339 | * excessive to do this at every run - most of this is |
339 | * excessive to do this at every run - most of this is |
340 | * really just to catch any errors - program will still run, but |
340 | * really just to catch any errors - program will still run, but |