Clear leashmon when leash is generated, even without obj init
This commit is contained in:
+3
-3
@@ -872,9 +872,6 @@ boolean artif;
|
|||||||
case BAG_OF_HOLDING:
|
case BAG_OF_HOLDING:
|
||||||
mkbox_cnts(otmp);
|
mkbox_cnts(otmp);
|
||||||
break;
|
break;
|
||||||
case LEASH:
|
|
||||||
otmp->leashmon = 0;
|
|
||||||
break;
|
|
||||||
case EXPENSIVE_CAMERA:
|
case EXPENSIVE_CAMERA:
|
||||||
case TINNING_KIT:
|
case TINNING_KIT:
|
||||||
case MAGIC_MARKER:
|
case MAGIC_MARKER:
|
||||||
@@ -1034,6 +1031,9 @@ boolean artif;
|
|||||||
/* case TIN: */
|
/* case TIN: */
|
||||||
set_corpsenm(otmp, otmp->corpsenm);
|
set_corpsenm(otmp, otmp->corpsenm);
|
||||||
break;
|
break;
|
||||||
|
case LEASH:
|
||||||
|
otmp->leashmon = 0;
|
||||||
|
break;
|
||||||
case SPE_NOVEL:
|
case SPE_NOVEL:
|
||||||
otmp->novelidx = -1; /* "none of the above"; will be changed */
|
otmp->novelidx = -1; /* "none of the above"; will be changed */
|
||||||
otmp = oname(otmp, noveltitle(&otmp->novelidx));
|
otmp = oname(otmp, noveltitle(&otmp->novelidx));
|
||||||
|
|||||||
Reference in New Issue
Block a user