diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-02 18:32:22 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-02 22:54:16 +0200 |
commit | b93032e49cd69da178984f9912205d182f12f61e (patch) | |
tree | 2caae8f9db5776a39a731e8fb82ed30ec7fb6b06 /src/critter-script.cpp | |
parent | 6abcd7d52cda334c58ec999d212491fc24f13c9d (diff) |
now call script update
Diffstat (limited to 'src/critter-script.cpp')
-rw-r--r-- | src/critter-script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/critter-script.cpp b/src/critter-script.cpp index b222f628..a10694fd 100644 --- a/src/critter-script.cpp +++ b/src/critter-script.cpp @@ -34,7 +34,7 @@ void empty_critter_script::on_init(const std::shared_ptr<critter>& p) } void empty_critter_script::on_update(const std::shared_ptr<critter>& p, size_t&, const Ns&) { - DBG_nospace << " update critter:" << (void*)&*p << " id:" << p->id << (p->name ? " name:" : "") << p->name; + //DBG_nospace << " update critter:" << (void*)&*p << " id:" << p->id << (p->name ? " name:" : "") << p->name; touch_ptr(p); } void empty_critter_script::on_destroy(const std::shared_ptr<critter>& p, script_destroy_reason r) |