]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/rada.c
Rename obj_nameof() to unit_nameof() and move to unitsub.c
[empserver] / src / lib / commands / rada.c
index be0552cad9d50fa54735f2b2c0d8cc1ae485de8e..d21bbebb12e4cc91ba02d71e7fe60a9c9f8559c8 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "commands.h"
 #include "optlist.h"
-#include "empobj.h"
+#include "unit.h"
 
 int
 rada(void)
@@ -108,7 +108,7 @@ radar(int type)
                spy = lchr[item.land.lnd_type].l_spy;
            }
 
-           pr("%s at ", obj_nameof(&item.gen));
+           pr("%s at ", unit_nameof(&item.gen));
            radmap(item.gen.x, item.gen.y, item.gen.effic,
                   item.gen.tech, spy, tf);
        }