summaryrefslogtreecommitdiff
path: root/npc/config/magic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/config/magic.txt')
-rw-r--r--npc/config/magic.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 87a9bc65c..ff3785147 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -245,6 +245,7 @@ function script alignment_cansummon {
if (!@hatesummon) {
dispbottom l("Nature itself express hate against you!");
getmapxy(.@m$, .@x, .@y, 0);
+ // FIXME: .@mob is or may be undefined
.@opo=monster(.@m$, .@x, .@y, "Failed summon", .@mob, 1);
unitattack(.@opo, getcharid(3));
@hatesummon=true;