summaryrefslogtreecommitdiff
path: root/src/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells3.cc')
-rw-r--r--src/spells3.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/spells3.cc b/src/spells3.cc
index 050b1371..7fbc9d6b 100644
--- a/src/spells3.cc
+++ b/src/spells3.cc
@@ -3403,8 +3403,10 @@ std::string device_haste_monster_info()
casting_result device_wish()
{
- make_wish();
- return CAST;
+ if (make_wish()) {
+ return CAST;
+ }
+ return NO_CAST;
}
casting_result device_summon_monster()