Add a missing break
Stepping on a magic trap while riding could delete the trap and make the deleted trap hit the steed.
This commit is contained in:
@@ -856,6 +856,7 @@ fix "object_is_local" panic when saving bones after hero is killed by explosion
|
|||||||
produced by dropped or thrown lit potion of oil
|
produced by dropped or thrown lit potion of oil
|
||||||
if lava burns up the player's water walking boots, the player falls in
|
if lava burns up the player's water walking boots, the player falls in
|
||||||
the messages for lava burning items up are always printed
|
the messages for lava burning items up are always printed
|
||||||
|
fix used-up magic trap trying to hit steed.
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -1213,6 +1213,7 @@ glovecheck: (void) rust_dmg(uarmg, "gauntlets", 1, TRUE, &youmonst);
|
|||||||
losehp(rnd(10), "magical explosion", KILLED_BY_AN);
|
losehp(rnd(10), "magical explosion", KILLED_BY_AN);
|
||||||
Your("body absorbs some of the magical energy!");
|
Your("body absorbs some of the magical energy!");
|
||||||
u.uen = (u.uenmax += 2);
|
u.uen = (u.uenmax += 2);
|
||||||
|
break;
|
||||||
} else domagictrap();
|
} else domagictrap();
|
||||||
#ifdef STEED
|
#ifdef STEED
|
||||||
(void) steedintrap(trap, (struct obj *)0);
|
(void) steedintrap(trap, (struct obj *)0);
|
||||||
|
|||||||
Reference in New Issue
Block a user