From c0c208d4c29ff49f940e8a6c54adb26cc4e5eba3 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 1 Mar 2012 21:54:04 +0100 Subject: Converted functions called by LuaScript to callbacks This includes the quest reply, post reply, death notification and remove notification. Also, Script::Ref was changed from a typedef to a small class, automating initialization and making the check for validness clearer. Reviewed-by: Erik Schilling --- src/scripting/script.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/scripting/script.cpp') diff --git a/src/scripting/script.cpp b/src/scripting/script.cpp index 66720842..db44bd57 100644 --- a/src/scripting/script.cpp +++ b/src/scripting/script.cpp @@ -34,8 +34,6 @@ typedef std::map< std::string, Script::Factory > Engines; static Engines *engines = NULL; -Script::Ref Script::NoRef = -1; - Script::Script(): mMap(NULL), mEventListener(&scriptEventDispatch) -- cgit v1.2.3-70-g09d2