Rename obj_nameof() to unit_nameof() and move to unitsub.c

This commit is contained in:
Markus Armbruster 2011-05-21 15:42:38 +02:00
parent 766788480f
commit 1c93c5fbc8
10 changed files with 41 additions and 47 deletions

View 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);
}