From 8c605ae65959f4b295fa0106e5bc0cb091e086f2 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 30 May 2004 00:29:33 +0000 Subject: [PATCH] renaming, using bool instead of int --- src/eressea/lua/unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eressea/lua/unit.cpp b/src/eressea/lua/unit.cpp index 8863d25f1..db793a1c1 100644 --- a/src/eressea/lua/unit.cpp +++ b/src/eressea/lua/unit.cpp @@ -289,7 +289,7 @@ bind_unit(lua_State * L) .def("set_racename", &unit_setracename) .def("add_spell", &unit_addspell) .def("remove_spell", &unit_removespell) - .property("circle", &unit_getmagic, &unit_setmagic) + .property("magic", &unit_getmagic, &unit_setmagic) .property("aura", &unit_getaura, &unit_setaura) .property("region", &unit_getregion, &unit_setregion) .property("is_familiar", &unit_isfamiliar)