(ichrstr): Rename member i_vtype to i_uid.
(ichr_ca): Rename selector vtype to uid.
This commit is contained in:
parent
96a1e8277a
commit
783b00bbad
24 changed files with 59 additions and 59 deletions
|
@ -449,8 +449,8 @@ comm_bomb(struct emp_qelem *list, struct sctstr *target)
|
|||
return;
|
||||
getsect(target->sct_x, target->sct_y, §);
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue