From 03243b0411169c5e59144eedb9099a628d6bb62e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 8 Mar 2004 23:08:44 +0000 Subject: [PATCH] spell:school als property --- src/eressea/lua/spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eressea/lua/spell.cpp b/src/eressea/lua/spell.cpp index 79cd6df39..130e4b0ed 100644 --- a/src/eressea/lua/spell.cpp +++ b/src/eressea/lua/spell.cpp @@ -28,6 +28,6 @@ bind_spell(lua_State * L) class_("spell") .def_readonly("name", &spell::sname) .def_readonly("level", &spell::level) - .def("school", &spell_getschool) + .property("school", &spell_getschool) ]; }