summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-03 23:41:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-05 03:16:23 +0200
commit1929cecb9747ef498e5379f6851771501b8772d6 (patch)
treec8e73df843627e2ceb8f3ee9effe57b4e9776f69
parent77ee1cf6fbe36b3a6d3c59abd5d3141d68e403ed (diff)
b
-rw-r--r--src/critter-script-empty.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/critter-script-empty.cpp b/src/critter-script-empty.cpp
index 180189f8..da712941 100644
--- a/src/critter-script-empty.cpp
+++ b/src/critter-script-empty.cpp
@@ -35,22 +35,22 @@ const void* empty_critter_script::type_id() const
void empty_critter_script::on_init(const std::shared_ptr<critter>& p)
{
- DBG_nospace << "> init critter:" << (void*)&*p << " id:" << p->id << (p->name ? " name:" : "") << p->name;
+ DBG_nospace << "> script init critter:" << (void*)&*p << " id:" << p->id << (p->name ? " name:" : "") << p->name;
touch_ptr(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 << " script 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)
{
- DBG_nospace << " destroy critter:" << (void*)&*p << " id:" << p->id << " reason:" << (int)r << (p->name ? " name:" : "") << p->name;
+ DBG_nospace << " script destroy critter:" << (void*)&*p << " id:" << p->id << " reason:" << (int)r << (p->name ? " name:" : "") << p->name;
touch_ptr(p);
}
void empty_critter_script::delete_self() noexcept
{
- DBG_nospace << "< delete critter";
+ DBG_nospace << "< script delete critter";
}
constinit empty_critter_script empty_script_ = {};