forked from github/server
crashbug, weil "too many units" message char * satt order * übergeben bekommt.
This commit is contained in:
parent
5f3c13521e
commit
71296bfced
|
@ -3429,11 +3429,11 @@ new_units (void)
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue