Set macro GOLDAREA_INC to specify goldarea.inc file
This commit is contained in:
parent
b417527631
commit
7f12733d4c
@ -44,4 +44,8 @@
|
|||||||
|
|
||||||
#endif /* GEDCFG2 */
|
#endif /* GEDCFG2 */
|
||||||
|
|
||||||
|
#ifndef GOLDAREA_INC
|
||||||
|
#define GOLDAREA_INC "goldarea.inc"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __GEFN_H__ */
|
#endif /* __GEFN_H__ */
|
||||||
|
@ -892,7 +892,7 @@ void Initialize(int argc, char* argv[]) {
|
|||||||
|
|
||||||
// Write GOLDAREA.INC if told
|
// Write GOLDAREA.INC if told
|
||||||
if(cmdlinewriteareas)
|
if(cmdlinewriteareas)
|
||||||
AL.WriteAreaDef(AddPath(CFG->goldpath, "goldarea.inc"));
|
AL.WriteAreaDef(AddPath(CFG->goldpath, GOLDAREA_INC));
|
||||||
|
|
||||||
// Get the global max length of echoids (for the arealist)
|
// Get the global max length of echoids (for the arealist)
|
||||||
extern int arealistnumgrps;
|
extern int arealistnumgrps;
|
||||||
|
Reference in New Issue
Block a user