From 882ac9e8e95e1762aaaf69b72b1cc703adf15b95 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 9 May 2012 20:23:00 -0700 Subject: [PATCH] pick the correct target region for spells cast by familiars. --- src/kernel/magic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/magic.c b/src/kernel/magic.c index 44cdee276..72f49289d 100644 --- a/src/kernel/magic.c +++ b/src/kernel/magic.c @@ -2035,7 +2035,7 @@ static spellparameter *add_spellparameter(region * target_r, unit * u, spobj = (spllprm *)malloc(sizeof(spllprm)); spobj->flag = 0; spobj->typ = SPP_REGION; - spobj->data.r = u->region; + spobj->data.r = target_r; j = 0; ++c; break;