From a7b6f852c43644effe4163c4a486eb8d648a38f1 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 3 Jul 2004 09:20:16 +0000 Subject: [PATCH] Vrash, wenn REGION keyword in Zaubern ohne angegebene Region. --- src/common/kernel/magic.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/kernel/magic.c b/src/common/kernel/magic.c index 8c53ed038..fa5c9a148 100644 --- a/src/common/kernel/magic.c +++ b/src/common/kernel/magic.c @@ -1874,6 +1874,7 @@ add_spellparameter(region *target_r, unit *u, const char *syntax, char ** param, while (!fail && *c && ifaction->locale)) { + pword = findparam(param[i++], u->faction->locale); + if (i>=size) pword = NOPARAM; + switch (pword) { case P_REGION: j = addparam_region(param+i, &spobj, u, ord); ++c;