diff options
Diffstat (limited to 'src/map/magic.c')
-rw-r--r-- | src/map/magic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/magic.c b/src/map/magic.c index 8800bb3..fcf3ad6 100644 --- a/src/map/magic.c +++ b/src/map/magic.c @@ -56,6 +56,9 @@ int magic_message(character_t *caster, char *spell_, size_t spell_len) { + if (pc_isdead(caster)) + return 0; + int power = caster->matk1; char *invocation_base = spell_ + 8; char *source_invocation = strchr(invocation_base, ':'); |