summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.h')
-rw-r--r--src/object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object.h b/src/object.h
index 50b854da..a3031598 100644
--- a/src/object.h
+++ b/src/object.h
@@ -86,7 +86,9 @@ class Being : public Object
//Inventory inventory;
//Equipment equipment;
+#ifdef SCRIPT_SUPPORT
Script *script;
+#endif
public:
~Being() { } //empty definition
@@ -102,7 +104,9 @@ class Being : public Object
stats.speed = dexterity;
//Update scipt
+#ifdef SCRIPT_SUPPORT
script->update();
+#endif
}
//accessors