[Add] Warn if ship has no mounts.
This commit is contained in:
parent
c4fdf48794
commit
4254478ad0
@ -446,6 +446,7 @@ static int ship_parse(Ship* tmp, xmlNodePtr parent) {
|
||||
MELEMENT(tmp->mass==0, "mass");
|
||||
MELEMENT(tmp->cap_cargo==0, "cap_cargo");
|
||||
MELEMENT(tmp->cap_weapon==0, "cap_weapon");
|
||||
MELEMENT(tmp->mounts==NULL, "mounts");
|
||||
#undef MELEMENT
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user