(V_CIVIL, V_MILIT, V_SHELL, V_GUN, V_PETROL, V_IRON, V_DUST, V_BAR,
V_FOOD, V_OIL, V_LCM, V_HCM, V_UW, V_RAD, V_ITEM): Remove, use item types instead.
This commit is contained in:
parent
09def8f156
commit
8ef7f35a56
17 changed files with 64 additions and 81 deletions
|
@ -292,7 +292,7 @@ pln_dropoff(struct emp_qelem *list, struct ichrstr *ip, coord tx, coord ty,
|
|||
xyas(tx, ty, player->cnum));
|
||||
return;
|
||||
}
|
||||
if (ip->i_vtype == V_CIVIL && sectp->sct_own != sectp->sct_oldown) {
|
||||
if (ip->i_vtype == I_CIVIL && sectp->sct_own != sectp->sct_oldown) {
|
||||
pr("%s is occupied. Your civilians suffer from identity crisis and die.\n",
|
||||
xyas(tx, ty, player->cnum));
|
||||
return;
|
||||
|
@ -621,7 +621,7 @@ pln_equip(struct plist *plp, struct ichrstr *ip, int flags, s_char mission)
|
|||
own = sect.sct_oldown;
|
||||
}
|
||||
if (ip) {
|
||||
if (ip->i_vtype == V_CIVIL) {
|
||||
if (ip->i_vtype == I_CIVIL) {
|
||||
if (pp->pln_own != own) {
|
||||
pr("You don't control those civilians!\n");
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue