(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
|
@ -80,7 +80,7 @@ move(void)
|
|||
istest = *player->argp[0] == 't';
|
||||
if ((ip = whatitem(player->argp[1], "move what? ")) == 0)
|
||||
return RET_SYN;
|
||||
vtype = ip->i_vtype;
|
||||
vtype = ip->i_uid;
|
||||
if (!(p = getstarg(player->argp[2], "from sector : ", buf)))
|
||||
return RET_SYN;
|
||||
if (!sarg_xy(p, &x, &y))
|
||||
|
@ -193,7 +193,7 @@ move(void)
|
|||
cmd_move_map, 0, &dam);
|
||||
|
||||
if (dam) {
|
||||
left = commdamage(amount, dam, ip->i_vtype);
|
||||
left = commdamage(amount, dam, ip->i_uid);
|
||||
if (left < amount) {
|
||||
if (left) {
|
||||
pr("%d of the %s you were moving were destroyed!\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue