From 71296bfced989dc976e25d5baed2f0901530678a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 20 May 2005 22:39:22 +0000 Subject: [PATCH] =?UTF-8?q?crashbug,=20weil=20"too=20many=20units"=20messa?= =?UTF-8?q?ge=20char=20*=20satt=20order=20*=20=C3=BCbergeben=20bekommt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/gamecode/laws.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 3fa22c616..637a473f5 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -3425,15 +3425,15 @@ new_units (void) int g, alias; order ** newordersp; - if(checkunitnumber(u->faction) == false) { - if(global.unitsperalliance == false) { + if (checkunitnumber(u->faction) == false) { + if (global.unitsperalliance == false) { ADDMSG(&u->faction->msgs, msg_message("too_many_units_in_faction", "command unit region allowed", - getcommand(makeord), u, r, maxunits(u->faction))); + makeord, u, r, maxunits(u->faction))); } else { ADDMSG(&u->faction->msgs, msg_message("too_many_units_in_alliance", "command unit region allowed", - getcommand(makeord), u, r, maxunits(u->faction))); + makeord, u, r, maxunits(u->faction))); } ordp = &makeord->next;