From 0e36f6e8d82e7cb0f01683454790a7123ea03197 Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 29 Aug 2009 04:33:12 +0000 Subject: Added MadCamel's patch for allowing colons in character names for spellcasters --- src/map/magic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2