spell:school als property

This commit is contained in:
Enno Rehling 2004-03-08 23:08:44 +00:00
parent 24dc202812
commit 03243b0411
1 changed files with 1 additions and 1 deletions

View File

@ -28,6 +28,6 @@ bind_spell(lua_State * L)
class_<struct spell>("spell") class_<struct spell>("spell")
.def_readonly("name", &spell::sname) .def_readonly("name", &spell::sname)
.def_readonly("level", &spell::level) .def_readonly("level", &spell::level)
.def("school", &spell_getschool) .property("school", &spell_getschool)
]; ];
} }