From 75a4adcf57b786b7bf4175697aa3beef7d4839b6 Mon Sep 17 00:00:00 2001 From: coppro Date: Tue, 22 Jan 2008 02:33:25 +0000 Subject: [PATCH] I have made it so that it is possible to access extra card fields through the script as many, many templates are suffering for no good reason as a result of them not being scriptable. I understand that the gamme shouldn't be allowed to rely on them, but the styles should, and as such, they should definitely be accessible from scripting. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@826 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/data/card.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/card.cpp b/src/data/card.cpp index df60ef45..93c8b8aa 100644 --- a/src/data/card.cpp +++ b/src/data/card.cpp @@ -73,6 +73,6 @@ IMPLEMENT_REFLECTION(Card) { } } REFLECT(notes); - REFLECT_NO_SCRIPT(extra_data); // don't allow scripts to depend on style specific data + REFLECT(extra_data); // don't allow scripts to depend on style specific data REFLECT_NAMELESS(data); }