Merge branch 'NetHack-3.6.2'
This commit is contained in:
+3
-1
@@ -1222,7 +1222,8 @@ int dieroll;
|
||||
/* but not bashing with darts, arrows or ya */
|
||||
&& !(is_ammo(obj) || is_missile(obj)))
|
||||
&& hand_to_hand) {
|
||||
if (clone_mon(mon, 0, 0)) {
|
||||
struct monst *mclone;
|
||||
if ((mclone = clone_mon(mon, 0, 0)) != 0) {
|
||||
char withwhat[BUFSZ];
|
||||
|
||||
withwhat[0] = '\0';
|
||||
@@ -1230,6 +1231,7 @@ int dieroll;
|
||||
Sprintf(withwhat, " with %s", yname(obj));
|
||||
pline("%s divides as you hit it%s!", Monnam(mon), withwhat);
|
||||
hittxt = TRUE;
|
||||
mintrap(mclone);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user