Record raw arguments, to be used in the next changesets:
(player): New member comtail. (parse): New parameter tail. Reorder parameter list. (command, execute): Pass player->comtail. (player_login, emp_config, do_unit_move): Pass NULL. No functional change.
This commit is contained in:
parent
3fcee8ddd1
commit
90631d56ed
7 changed files with 33 additions and 26 deletions
|
@ -183,7 +183,7 @@ do_unit_move(struct emp_qelem *ulist, int *together,
|
|||
cp++;
|
||||
continue;
|
||||
}
|
||||
ac = parse(cp, player->argp, NULL, scanspace, NULL);
|
||||
ac = parse(cp, scanspace, player->argp, NULL, NULL, NULL);
|
||||
if (ac <= 1) {
|
||||
sprintf(dp, "%d", leader->uid);
|
||||
player->argp[1] = dp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue