allow orctown booty items to be initialized in mksobj

This commit is contained in:
nhmall
2019-10-01 21:06:07 -04:00
parent e520071f52
commit 1df652683e
2 changed files with 2 additions and 1 deletions

View File

@@ -156,6 +156,7 @@ uarmh null pointer dereference if a helm of opposite alignment came off due
to being polymorphed
verb tense was inappropriate in some messages when a mon/pet had a name
ending in 's'
orctown booty items should have been initialized in mksobj()
Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository

View File

@@ -702,7 +702,7 @@ const char *gang;
{
struct obj *otmp;
otmp = mksobj_migr_to_species(otyp, (unsigned long) M2_ORC, FALSE, FALSE);
otmp = mksobj_migr_to_species(otyp, (unsigned long) M2_ORC, TRUE, FALSE);
if (otmp && gang) {
new_oname(otmp, strlen(gang) + 1); /* removes old name if present */
Strcpy(ONAME(otmp), gang);