]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/scut.c
Rename obj_nameof() to unit_nameof() and move to unitsub.c
[empserver] / src / lib / commands / scut.c
index e2383f3ee3f691e9ef1bd94c6da6a98639ac752f..4e78b634609a30b41fdb515c393b9ccda1033ee2 100644 (file)
@@ -34,7 +34,6 @@
 
 #include <ctype.h>
 #include "commands.h"
-#include "empobj.h"
 #include "news.h"
 #include "optlist.h"
 #include "unit.h"
@@ -138,7 +137,7 @@ scut(void)
            }
        }
        pr("%s scuttled in %s\n",
-          obj_nameof(&item.gen),
+          unit_nameof(&item.gen),
           xyas(item.gen.x, item.gen.y, player->cnum));
        getsect(item.gen.x, item.gen.y, &sect);
        if (sect.sct_own == item.gen.own)