(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
|
@ -2554,7 +2554,7 @@ ask_move_in_off(struct combat *off, struct combat *def)
|
|||
}
|
||||
|
||||
if (dam) {
|
||||
left = commdamage(num_mil, dam, V_MILIT);
|
||||
left = commdamage(num_mil, dam, I_MILIT);
|
||||
if (left < num_mil) {
|
||||
if (left) {
|
||||
pr("%d of the mil you were moving were destroyed!\nOnly %d mil made it to %s\n", num_mil - left, left, xyas(def->x, def->y, player->cnum));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue