From 2be1868ff0471a9278abf510f6ac02756178286a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 3 Feb 2017 21:48:03 +0100 Subject: [PATCH] Antiemagiekristall Meldung geht an die Region. Nicht nur an die Partei, die es zaubert. http://bugs.eressea.de/view.php?id=1987 --- res/core/messages.xml | 5 ++--- src/items.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/res/core/messages.xml b/res/core/messages.xml index 6892ec4e5..c28670d65 100644 --- a/res/core/messages.xml +++ b/res/core/messages.xml @@ -1910,10 +1910,9 @@ - - "$unit($unit) benutzt in $region($region) einen Antimagiekristall." - "$unit($unit) uses an antimagic crystal in $region($region)." + "$unit($unit) benutzt einen Antimagiekristall." + "$unit($unit) uses an antimagic crystal." diff --git a/src/items.c b/src/items.c index 6e995edaa..bb5009038 100644 --- a/src/items.c +++ b/src/items.c @@ -167,8 +167,7 @@ struct order *ord) } } use_pooled(u, rt_crystal, GET_DEFAULT, amount); - ADDMSG(&u->faction->msgs, msg_message("use_antimagiccrystal", - "unit region", u, r)); + ADDMSG(&u->region->msgs, msg_message("use_antimagiccrystal", "unit", u)); return 0; }