summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-05-21 10:48:09 +0000
committerAaron Marks <nymacro@gmail.com>2005-05-21 10:48:09 +0000
commitfff37ac56a093ca1659d03d7fca339d96f6a931f (patch)
tree0f215b010e83650289150e4930b46f8188003f21 /src/object.h
parentdebc30dc9ea83ee6b7693f7258f38f52c0b15c45 (diff)
downloadmanaserv-fff37ac56a093ca1659d03d7fca339d96f6a931f.tar.gz
manaserv-fff37ac56a093ca1659d03d7fca339d96f6a931f.tar.bz2
manaserv-fff37ac56a093ca1659d03d7fca339d96f6a931f.tar.xz
manaserv-fff37ac56a093ca1659d03d7fca339d96f6a931f.zip
Disabled scripting by default (enabled using --with-scripting at configure)
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