]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/marc.c
Update copyright notice
[empserver] / src / lib / commands / marc.c
index 8487eed5d4710a7d723e38aac10e0ace1efe88b3..3f0f9b4b61eea4cbf3fe967426f5f3e54320473b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2012, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
  *     Thomas Ruschak
  *     Ken Stevens, 1995 (rewrite)
  *     Ron Koenderink, 2006-2007
+ *     Markus Armbruster, 2006-2015
  */
 
 #include <config.h>
 
 #include "commands.h"
-#include "file.h"
-#include "empobj.h"
+#include "unit.h"
 
 int
 march(void)
 {
     struct nstr_item ni_land;
     struct emp_qelem land_list;
-    double minmob, maxmob;
-    int together;
 
     if (!snxtitem(&ni_land, EF_LAND, player->argp[1], NULL))
        return RET_SYN;
     lnd_sel(&ni_land, &land_list);
-    lnd_mar(&land_list, &minmob, &maxmob, &together, player->cnum);
     if (QEMPTY(&land_list)) {
        pr("No lands\n");
        return RET_FAIL;
     }
-    return do_unit_move(&land_list, &together, &minmob, &maxmob);
+    return unit_move(&land_list);
 }