clarification: at_dict is deprecated but has a conversion.

This commit is contained in:
Enno Rehling 2021-03-19 20:32:28 +01:00
parent 7fcecc9468
commit fb52bc8846
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,6 @@
#include "stealth.h"
#include "magic.h"
#include "movement.h"
#include "dict.h"
#include "otherfaction.h"
#include "overrideroads.h"
#include "racename.h"
@ -198,7 +197,6 @@ void register_attributes(void)
at_deprecate("gm", a_readint);
at_deprecate("guard", a_readint); /* used to contain guard-flags (v3.10.0-259-g8597e8b) */
at_register(&at_stealth);
at_register(&at_dict);
at_register(&at_unitdissolve);
at_register(&at_observer);
at_register(&at_overrideroads);

View File

@ -2,6 +2,8 @@
#include <platform.h>
#endif
#include "attributes/dict.h"
#include "helpers.h"
#include "vortex.h"
#include "alchemy.h"
@ -358,6 +360,7 @@ void register_tolua_helpers(void)
{
tt_register(&tt_caldera);
at_register(&at_direction);
at_register(&at_dict); /* deprecated, but has an upgrade path */
at_deprecate("lcbuilding", building_action_read);
callbacks.equip_unit = lua_equipunit;