(ichrstr): Rename member i_vtype to i_uid.

(ichr_ca): Rename selector vtype to uid.
This commit is contained in:
Markus Armbruster 2006-02-20 05:35:58 +00:00
parent 96a1e8277a
commit 783b00bbad
24 changed files with 59 additions and 59 deletions

View file

@ -449,8 +449,8 @@ comm_bomb(struct emp_qelem *list, struct sctstr *target)
return;
getsect(target->sct_x, target->sct_y, &sect);
target = §
before = amt = target->sct_item[ip->i_vtype];
target->sct_item[ip->i_vtype] = amt = commdamage(amt, dam, ip->i_vtype);
before = amt = target->sct_item[ip->i_uid];
target->sct_item[ip->i_uid] = amt = commdamage(amt, dam, ip->i_uid);
if (before > 0.0)
b = 100.0 * (1.0 - ((float)amt / (float)before));
else