From 7f7215b9224741dd7425dd9e9bff0745d7e513d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Ho=C5=A1ek?= Date: Wed, 11 May 2005 17:31:23 +0000 Subject: [PATCH] Added the "button" property to the list that scripttrigger.cpp writes out into a level file. SVN-Revision: 2472 --- src/trigger/scripttrigger.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trigger/scripttrigger.cpp b/src/trigger/scripttrigger.cpp index 1d2ccb84d..e5bc84863 100644 --- a/src/trigger/scripttrigger.cpp +++ b/src/trigger/scripttrigger.cpp @@ -71,6 +71,7 @@ ScriptTrigger::write(lisp::Writer& writer) writer.write_float("width", bbox.get_width()); writer.write_float("height", bbox.get_height()); writer.write_string("script", script); + writer.write_bool("button", (triggerevent == EVENT_ACTIVATE) ? true : false); writer.end_list("scripttrigger"); } -- 2.11.0