summaryrefslogtreecommitdiff
path: root/src/map/magic.h
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-08-29 04:14:17 +0000
committerFate <fate-tmw@googlemail.com>2009-08-29 04:14:17 +0000
commit3e35855d56e8a20959520e921b19832b2b5eaf8f (patch)
tree209c37f27251e45fa1e20331337506240510ae94 /src/map/magic.h
parent6ff9a550e3f22eaa906722143f94b75666ebbd30 (diff)
downloadtmwa-3e35855d56e8a20959520e921b19832b2b5eaf8f.tar.gz
tmwa-3e35855d56e8a20959520e921b19832b2b5eaf8f.tar.bz2
tmwa-3e35855d56e8a20959520e921b19832b2b5eaf8f.tar.xz
tmwa-3e35855d56e8a20959520e921b19832b2b5eaf8f.zip
If a spell is continued via the NPC handler callback, double-check that it is really waiting for a script. This fixes #755 and #733.
Diffstat (limited to 'src/map/magic.h')
-rw-r--r--src/map/magic.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/magic.h b/src/map/magic.h
index 49f2883..e15ca76 100644
--- a/src/map/magic.h
+++ b/src/map/magic.h
@@ -78,6 +78,12 @@ void
spell_execute(struct invocation *invocation);
/**
+ * Continue an NPC script embedded in a spell
+ */
+void
+spell_execute_script(struct invocation *invocation);
+
+/**
* Stops all magic bound to the specified character
*
*/