Make lmine report lack of mobility more nicely
This commit is contained in:
parent
41f3e67e8b
commit
82ddc64e35
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ landmine(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (land.lnd_mobil < 1) {
|
if (land.lnd_mobil < 1) {
|
||||||
pr("Unit %d is out of mobility\n", land.lnd_uid);
|
pr("%s is out of mobility\n", prland(&land));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
resupply_commod(&land, I_SHELL);
|
resupply_commod(&land, I_SHELL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue