Skip to content

Commit

Permalink
Fix: 'The magical energy is released!' with non-directional psionic w…
Browse files Browse the repository at this point in the history
…ave.
  • Loading branch information
k21971 committed Jun 18, 2024
1 parent 5dc1330 commit ccb87c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/evilhack-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3518,4 +3518,6 @@ The following changes to date are:
- Fix: closet trap engravings
- Fix: grammar/death reason if the player is incinerated by Sunsword
or the Hammer of the Gods
- Fix: 'The magical energy is released!' with non-directional
psionic wave

5 changes: 4 additions & 1 deletion src/spell.c
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,10 @@ boolean wiz_cast;
* spelleffects() is organized means that aborting with
* "nevermind" is not an option.
*/
pline_The("magical energy is released!");
if (otyp == SPE_PSIONIC_WAVE)
pline_The("psionic energy is released!");
else
pline_The("magical energy is released!");
}
if (!u.dx && !u.dy && !u.dz) {
if ((damage = zapyourself(pseudo, TRUE)) != 0) {
Expand Down

0 comments on commit ccb87c9

Please sign in to comment.