Remove double boom on cancelling a magical trap
This commit is contained in:
@@ -3489,10 +3489,6 @@ maybe_explode_trap(
|
|||||||
} else if (is_magical_trap(ttmp->ttyp)) {
|
} else if (is_magical_trap(ttmp->ttyp)) {
|
||||||
int seeit = cansee(x, y);
|
int seeit = cansee(x, y);
|
||||||
|
|
||||||
if (!Deaf) {
|
|
||||||
Soundeffect(se_kaboom, 80);
|
|
||||||
pline("Kaboom!");
|
|
||||||
}
|
|
||||||
/* note: this explosion mustn't destroy otmp */
|
/* note: this explosion mustn't destroy otmp */
|
||||||
explode(x, y, -WAN_CANCELLATION,
|
explode(x, y, -WAN_CANCELLATION,
|
||||||
20 + d(3, 6), TRAP_EXPLODE, EXPL_MAGICAL);
|
20 + d(3, 6), TRAP_EXPLODE, EXPL_MAGICAL);
|
||||||
|
|||||||
Reference in New Issue
Block a user