polymorph into a non-twoweapon form

- you can't twoweapon unless your form allows it, but polymorph wouldn't
disable twoweapon mode immediately
This commit is contained in:
cohrs
2002-03-30 03:01:38 +00:00
parent a997e11e00
commit 1688c75b9f
2 changed files with 4 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ if an unknown rolling boulder trap kills a monster, you shouldn't be a murderer
touchstone entry in data.base
specific message for engraving headstone with wand of digging
wielded/quivered chained ball should be unwielded when thrown
polymorphing into a form that cannot twoweapon should immediately disable
twoweapon mode
Platform- and/or Interface-Specific Fixes

View File

@@ -668,6 +668,8 @@ int alone;
dropx(otmp2);
}
untwoweapon();
} else if (!could_twoweap(youmonst.data)) {
untwoweapon();
}
}
}