From a18ca097b91e281e925cc4e908be75cd61778160 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 18 Dec 2005 18:19:14 +0000 Subject: [PATCH] renamed_faction_notseen doesn't need that parameter. --- src/common/gamecode/laws.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index d9e2bb4d1..c594b4da4 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -1605,11 +1605,9 @@ name_cmd(unit * u, struct order * ord) } } if (cansee(f, r, u, 0)) { - add_message(&f->msgs, new_message(f, - "renamed_faction_seen%u:renamer%r:region", u, r)); + ADDMSG(&f->msgs, msg_message("renamed_faction_seen", "unit region", u, r)); } else { - add_message(&f->msgs, new_message(f, - "renamed_faction_notseen%r:region", r)); + ADDMSG(&f->msgs, msg_message("renamed_faction_notseen", "", r)); } s = &f->name; } else {