diff options
author | Aaron Marks <nymacro@gmail.com> | 2005-05-21 10:48:09 +0000 |
---|---|---|
committer | Aaron Marks <nymacro@gmail.com> | 2005-05-21 10:48:09 +0000 |
commit | fff37ac56a093ca1659d03d7fca339d96f6a931f (patch) | |
tree | 0f215b010e83650289150e4930b46f8188003f21 /src/object.h | |
parent | debc30dc9ea83ee6b7693f7258f38f52c0b15c45 (diff) | |
download | manaserv-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.h | 4 |
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 |