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:
parent
fd9c0c43c0
commit
cc5d971e24
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue