Rename obj_nameof() to unit_nameof() and move to unitsub.c
This commit is contained in:
parent
766788480f
commit
1c93c5fbc8
10 changed files with 41 additions and 47 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue