1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-31 01:42:24 +01:00

Remove instances of is_metal() instead of is_mettalic()

This commit is contained in:
chris 2022-07-23 15:14:05 -04:00
parent fd9c0c43c0
commit cc5d971e24

View file

@ -604,7 +604,7 @@ register boolean special;
|| (Role_if(PM_MADMAN) && In_quest(&u.uz) && (mtmp->mtyp == PM_NOBLEMAN || mtmp->mtyp == PM_NOBLEWOMAN || mtmp->mtyp == PM_HEALER))
){
for(struct obj *otmp = mtmp->minvent; otmp; otmp = otmp->nobj){
if(is_metal(otmp)){
if(is_metallic(otmp)){
set_material_gm(otmp, GOLD);
} else if(otmp->owornmask){
otmp->obj_color = CLR_YELLOW;
@ -622,7 +622,7 @@ register boolean special;
if(otmp->otyp == STRAITJACKET){
curse(otmp);
}
else if(!is_metal(otmp)){
else if(!is_metallic(otmp)){
otmp->obj_color = CLR_RED;
otmp->oeroded3 = 1;
}