allow orctown booty items to be initialized in mksobj
This commit is contained in:
@@ -156,6 +156,7 @@ uarmh null pointer dereference if a helm of opposite alignment came off due
|
|||||||
to being polymorphed
|
to being polymorphed
|
||||||
verb tense was inappropriate in some messages when a mon/pet had a name
|
verb tense was inappropriate in some messages when a mon/pet had a name
|
||||||
ending in 's'
|
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
|
Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository
|
||||||
|
|||||||
+1
-1
@@ -702,7 +702,7 @@ const char *gang;
|
|||||||
{
|
{
|
||||||
struct obj *otmp;
|
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) {
|
if (otmp && gang) {
|
||||||
new_oname(otmp, strlen(gang) + 1); /* removes old name if present */
|
new_oname(otmp, strlen(gang) + 1); /* removes old name if present */
|
||||||
Strcpy(ONAME(otmp), gang);
|
Strcpy(ONAME(otmp), gang);
|
||||||
|
|||||||
Reference in New Issue
Block a user