Remove radmapnopr(), use radmapupd() instead

This commit is contained in:
Markus Armbruster 2010-06-20 13:32:03 +02:00
parent db04ba4355
commit 27f22f36bb
3 changed files with 5 additions and 12 deletions

View file

@ -157,11 +157,11 @@ do_unit_move(struct emp_qelem *ulist, int *together,
cp = buf;
}
if (type == EF_SHIP) {
radmapnopr(leader->x, leader->y, (int)leader->effic,
(int)techfact(leader->tech,
mchr[(int)leader->type].m_vrnge),
(mchr[(int)leader->type].m_flags & M_SONAR)
? techfact(leader->tech, 1.0) : 0.0);
radmapupd(player->cnum, leader->x, leader->y, leader->effic,
(int)techfact(leader->tech,
mchr[leader->type].m_vrnge),
(mchr[leader->type].m_flags & M_SONAR)
? techfact(leader->tech, 1.0) : 0.0);
}
if (cp == NULL || *cp == '\0')
cp = &dirch[DIR_STOP];