From f3ad48f5ce2b3b584870674e58a7265779b3836b Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Mon, 22 Mar 2010 21:55:34 +0100 Subject: Added global lua event script (only on_being_death_accept for now) Reviewed-by: Jared Adams --- src/scripting/script.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/scripting/script.hpp') diff --git a/src/scripting/script.hpp b/src/scripting/script.hpp index e11e5cc..74925e8 100644 --- a/src/scripting/script.hpp +++ b/src/scripting/script.hpp @@ -131,6 +131,8 @@ class Script virtual void processRemoveEvent(Thing* thing) = 0; + static Script* global_event_script; // the global event script + protected: std::string mScriptFile; -- cgit