Vrash, wenn REGION keyword in Zaubern ohne angegebene Region.

This commit is contained in:
Enno Rehling 2004-07-03 10:09:21 +00:00
parent a7b6f852c4
commit a960f790ad
1 changed files with 4 additions and 1 deletions

View File

@ -1916,7 +1916,10 @@ add_spellparameter(region *target_r, unit *u, const char *syntax, char ** param,
if (i>=size) pword = NOPARAM;
switch (pword) {
case P_REGION:
j = addparam_region(param+i, &spobj, u, ord);
spobj = malloc(sizeof(spllprm));
spobj->flag = 0;
spobj->typ = SPP_REGION;
spobj->data.r = u->region;
++c;
break;
case P_UNIT: