]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/unitsub.c
Collect path-related stuff in path.h
[empserver] / src / lib / subs / unitsub.c
index 17750b533d0deafbfbd4ba64d88cf19b058577dc..fa986c0675fb3a31ce34dd4cac421486c3aca0c6 100644 (file)
@@ -36,6 +36,7 @@
 
 #include "empobj.h"
 #include "file.h"
+#include "path.h"
 #include "player.h"
 #include "optlist.h"
 #include "prototypes.h"
@@ -116,7 +117,7 @@ unit_put(struct emp_qelem *list, natid actor)
            continue;
        if (actor) {
            mpr(actor, "%s stopped at %s\n", obj_nameof(unit),
-               xyas(unit->x, unit->y, unit->own));
+               xyas(unit->x, unit->y, actor));
            if (unit->ef_type == EF_LAND) {
                if (ulp->mobil < -127)
                    ulp->mobil = -127;