fix mitemcheckbox

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4385 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-05-09 14:29:54 +00:00
parent 24a150d0eb
commit 4415c4b377
+3
View File
@@ -520,10 +520,13 @@ struct mitemcheckbox : mitem
virtual void select()
{
checked = !checked;
if(action && action[0])
{
push("arg1", checked ? "1" : "0");
execute(action);
pop("arg1");
}
}
virtual void init()
{