From 2e9f1954fe65ee361e0e6193529fa99b342bb91a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 13 Jun 2005 19:54:58 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D52?= =?UTF-8?q?1=20H=C3=A4ndler=20verkauft=20und=20lernt=20gleichzeitig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Der Trick ist, das man das flag nicht nur in KAUFE/VERKAUFE testen muss, sondern noch viel wichtiger in LERNE auch setzen. Issue: 521 --- src/common/gamecode/creport.c | 1 - src/common/gamecode/study.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index ecec5cd7c..007d098b1 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -625,7 +625,6 @@ cr_output_unit(FILE * F, const region * r, init = true; itemcloak_ct = ct_find("itemcloak"); } - if (itemcloak_ct!=NULL) { itemcloak = curse_active(get_curse(u->attribs, itemcloak_ct)); } diff --git a/src/common/gamecode/study.c b/src/common/gamecode/study.c index 1debfd03f..7c2530583 100644 --- a/src/common/gamecode/study.c +++ b/src/common/gamecode/study.c @@ -710,6 +710,7 @@ learn(void) a_remove(&u->attribs, a); a = NULL; } + fset(u, UFL_LONGACTION); /* Anzeigen neuer Tränke */ /* Spruchlistenaktualiesierung ist in Regeneration */