Skip to content

Commit 43a86cd

Browse files
committed
Fix: Lava gremlin exploding a forge.
If a lava gremlin walks onto a forge, there's a chance the forge will blow up. The routine in blowupforge() was mistakenly positioning the explosion onto the players location instead of the forge itself.
1 parent 7ac424a commit 43a86cd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/evilhack-changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -3387,4 +3387,5 @@ The following changes to date are:
33873387
- Re-add regular bracers, minor bug fixes from initial Druid commit
33883388
- Re-add encyclopedia and guidebook entries (bracers, existing roles)
33893389
- 'Deslog' the first wizard's tower level
3390+
- Lava gremlin exploding a forge
33903391

src/fountain.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ int x, y;
11661166
levl[x][y].doormask = 0;
11671167
newsym(x, y);
11681168
level.flags.nforges--;
1169-
explode(u.ux, u.uy, ZT_FIRE, resist_reduce(rnd(30), FIRE_RES),
1169+
explode(x, y, ZT_FIRE, resist_reduce(rnd(30), FIRE_RES),
11701170
FORGE_EXPLODE, EXPL_FIERY);
11711171
}
11721172

0 commit comments

Comments
 (0)