diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index 83abff2ba..622bd5de8 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -3035,7 +3035,9 @@ attrib_init(void) #endif at_register(&at_laen); /* required for old datafiles */ at_register(&at_xontormiaexpress); /* required for old datafiles */ +#ifdef WDW_PYRAMIDSPELL at_register(&at_wdwpyramid); +#endif } void diff --git a/src/common/kernel/spell.h b/src/common/kernel/spell.h index e26415af8..6d3af706b 100644 --- a/src/common/kernel/spell.h +++ b/src/common/kernel/spell.h @@ -283,7 +283,9 @@ typedef struct wall_data { extern struct attrib_type at_cursewall; extern struct attrib_type at_unitdissolve; +#ifdef WDW_PYRAMIDSPELL extern struct attrib_type at_wdwpyramid; +#endif extern struct spell spelldaten[]; #ifdef __cplusplus