Make lmine report lack of mobility more nicely

This commit is contained in:
Markus Armbruster 2009-02-14 09:08:06 +01:00
parent 41f3e67e8b
commit 82ddc64e35

View file

@ -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);