Merge branch 'NetHack-3.6'
This commit is contained in:
12
src/invent.c
12
src/invent.c
@@ -3569,11 +3569,7 @@ register struct obj *otmp, *obj;
|
||||
if (obj->oclass == COIN_CLASS)
|
||||
return TRUE;
|
||||
|
||||
if (obj->unpaid != otmp->unpaid || obj->spe != otmp->spe
|
||||
|| obj->cursed != otmp->cursed || obj->blessed != otmp->blessed
|
||||
|| obj->no_charge != otmp->no_charge || obj->obroken != otmp->obroken
|
||||
|| obj->otrapped != otmp->otrapped || obj->lamplit != otmp->lamplit
|
||||
|| obj->bypass != otmp->bypass)
|
||||
if (obj->bypass != otmp->bypass)
|
||||
return FALSE;
|
||||
|
||||
if (obj->globby)
|
||||
@@ -3582,6 +3578,12 @@ register struct obj *otmp, *obj;
|
||||
* or don't inhibit their merger.
|
||||
*/
|
||||
|
||||
if (obj->unpaid != otmp->unpaid || obj->spe != otmp->spe
|
||||
|| obj->cursed != otmp->cursed || obj->blessed != otmp->blessed
|
||||
|| obj->no_charge != otmp->no_charge || obj->obroken != otmp->obroken
|
||||
|| obj->otrapped != otmp->otrapped || obj->lamplit != otmp->lamplit)
|
||||
return FALSE;
|
||||
|
||||
if (obj->oclass == FOOD_CLASS
|
||||
&& (obj->oeaten != otmp->oeaten || obj->orotten != otmp->orotten))
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user