summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/magic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/magic.c b/src/map/magic.c
index fcf3ad6..327fa36 100644
--- a/src/map/magic.c
+++ b/src/map/magic.c
@@ -61,7 +61,7 @@ magic_message(character_t *caster,
int power = caster->matk1;
char *invocation_base = spell_ + 8;
- char *source_invocation = strchr(invocation_base, ':');
+ char *source_invocation = 1 + invocation_base + strlen(caster->status.name);
spell_t *spell;
char *parameter;
char *spell_invocation;