]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/load.c
Rename obj_nameof() to unit_nameof() and move to unitsub.c
[empserver] / src / lib / commands / load.c
index 8ab83e088ec5113af28a64282ede6a1ecd532fba..6b3886b52e2902d77b57a95c40c9c07fcf4f624b 100644 (file)
@@ -37,7 +37,6 @@
 
 #include <ctype.h>
 #include "commands.h"
-#include "empobj.h"
 #include "item.h"
 #include "land.h"
 #include "optlist.h"
@@ -363,7 +362,7 @@ void
 gift(natid givee, natid giver, void *ptr, char *mesg)
 {
     if (giver != givee)
-       wu(0, givee, "%s %s %s\n", cname(giver), obj_nameof(ptr), mesg);
+       wu(0, givee, "%s %s %s\n", cname(giver), unit_nameof(ptr), mesg);
     unit_give_away(ptr, givee, 0);
 }