forked from github/server
pick the correct target region for spells cast by familiars.
This commit is contained in:
parent
ee7a35f293
commit
882ac9e8e9
|
@ -2035,7 +2035,7 @@ static spellparameter *add_spellparameter(region * target_r, unit * u,
|
||||||
spobj = (spllprm *)malloc(sizeof(spllprm));
|
spobj = (spllprm *)malloc(sizeof(spllprm));
|
||||||
spobj->flag = 0;
|
spobj->flag = 0;
|
||||||
spobj->typ = SPP_REGION;
|
spobj->typ = SPP_REGION;
|
||||||
spobj->data.r = u->region;
|
spobj->data.r = target_r;
|
||||||
j = 0;
|
j = 0;
|
||||||
++c;
|
++c;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue