]> granicus.if.org Git - nethack/commitdiff
Dwarves may be generated with dwarvish spears
authorPasi Kallinen <paxed@alt.org>
Thu, 4 Jun 2015 18:01:36 +0000 (21:01 +0300)
committerPasi Kallinen <paxed@alt.org>
Thu, 4 Jun 2015 18:01:45 +0000 (21:01 +0300)
src/makemon.c

index 242675340c3b946601a1da2c351520c2bb1b2955..a1fc167fee3fb554ad1837d429a16af1aa1ef057 100644 (file)
@@ -325,7 +325,7 @@ register struct monst *mtmp;
                 if (rn2(2))
                     (void) mongets(mtmp, DWARVISH_MATTOCK);
                 else {
-                    (void) mongets(mtmp, AXE);
+                    (void) mongets(mtmp, rn2(2) ? AXE : DWARVISH_SPEAR);
                     (void) mongets(mtmp, DWARVISH_ROUNDSHIELD);
                 }
                 (void) mongets(mtmp, DWARVISH_IRON_HELM);