summaryrefslogtreecommitdiff
path: root/src/scripting/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripting/script.h')
-rw-r--r--src/scripting/script.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scripting/script.h b/src/scripting/script.h
index 694deed6..7cf457cc 100644
--- a/src/scripting/script.h
+++ b/src/scripting/script.h
@@ -43,9 +43,13 @@ class Script : public sigc::trackable
struct Context
{
MapComposite *map;
+ Entity *npc;
+ Entity *character;
Context()
: map(0)
+ , npc(0)
+ , character(0)
{}
};