1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-08 21:55:25 +01:00

Fix rogues generating with a stack of spears replacing their daggers

and instead start with only one.
This commit is contained in:
demogorgon22 2021-01-23 09:19:46 -05:00
parent 77975c4d11
commit a51f18b182

View file

@ -2918,8 +2918,9 @@ register struct trobj *trop;
}
if (obj->oclass == WEAPON_CLASS ||
obj->oclass == TOOL_CLASS) {
obj->quan = (long) trop->trquan;
trop->trquan = 1;
if(objects[obj->otyp].oc_merge)
obj->quan = (long) trop->trquan;
trop->trquan = 1;
} else if (obj->oclass == GEM_CLASS &&
((is_graystone(obj) && obj->otyp != FLINT) ||
Role_if(PM_EXILE) )) {