forked from github/server
Vrash, wenn REGION keyword in Zaubern ohne angegebene Region.
This commit is contained in:
parent
a7b6f852c4
commit
a960f790ad
|
@ -1916,7 +1916,10 @@ add_spellparameter(region *target_r, unit *u, const char *syntax, char ** param,
|
||||||
if (i>=size) pword = NOPARAM;
|
if (i>=size) pword = NOPARAM;
|
||||||
switch (pword) {
|
switch (pword) {
|
||||||
case P_REGION:
|
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;
|
++c;
|
||||||
break;
|
break;
|
||||||
case P_UNIT:
|
case P_UNIT:
|
||||||
|
|
Loading…
Reference in New Issue