Don't read .agemodel, if newcompat.de is not set.
This commit is contained in:
parent
2007ad30d7
commit
4048610872
|
|
@ -1102,10 +1102,9 @@ struct card *inp_readall(FILE *fp, const char *dir_name, const char* file_name,
|
|||
/* some syntax checks, excluding title line */
|
||||
inp_check_syntax(working);
|
||||
|
||||
/* collect .agemodel data, skip .agemodel if newcompat.de is not set */
|
||||
readdegparams(working);
|
||||
if (newcompat.de) {
|
||||
/* collect .agemodel data */
|
||||
readdegparams(working);
|
||||
|
||||
/* replace all [ ] by @, except for a instances */
|
||||
remsqrbra(working);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue