use at_deprecate, as is intended.

This commit is contained in:
Enno Rehling 2017-04-30 22:46:35 +02:00
parent 80d696d02a
commit 51a991413f

View file

@ -2931,10 +2931,6 @@ static int dc_read_compat(struct attrib *a, void *target, gamedata *data)
}
return AT_READ_FAIL; /* we don't care for the attribute. */
}
attrib_type at_deathcloud_compat = {
"zauber_todeswolke", NULL, NULL, NULL, NULL, dc_read_compat
};
#endif
/* ------------------------------------------------------------- */
@ -6725,7 +6721,9 @@ void register_spells(void)
{
register_borders();
at_register(&at_deathcloud_compat);
#ifdef COMPAT_DEATHCLOUD
at_deprecate("zauber_todeswolke", dc_read_compat);
#endif
/* init_firewall(); */
ct_register(&ct_firewall);