X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2Fgoal.cpp;h=f20ecc5b2b3d2cd99c96ad2a6685286a1b27691c;hp=a4f33304f3f75af56b86c376b0c653879405006e;hb=631f0cfd6b421f5be68d60375db2ce91176d923d;hpb=05c42da80ec11cd73cc8a1b6ff21ac817b02a6e6 diff --git a/src/creature/goal.cpp b/src/creature/goal.cpp index a4f3330..f20ecc5 100644 --- a/src/creature/goal.cpp +++ b/src/creature/goal.cpp @@ -100,8 +100,7 @@ void BlobBackgroundTask::CheckStats() { void BlobBackgroundTask::CheckSplit() { if (GetCreature().Mass() > GetCreature().OffspringMass() * 2.0 && GetCreature().OffspringChance() > Assets().random.UNorm()) { - std::cout << "[" << ui::TimeString(GetCreature().GetSimulation().Time()) - << "] " << GetCreature().Name() << " split" << std::endl; + GetCreature().GetSimulation().Log() << GetCreature().Name() << " split" << std::endl; Split(GetCreature()); return; }