X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fworld%2Fworld.cpp;h=19f6f4af6603607c3eb709a832defcad0215a26c;hp=91f9bc6751fbaedcda6f67fd1378720c87eda680;hb=838022c799cecd0e93826565e537a0667bded024;hpb=e0180e01f4c659c97973f585fea5eb3344254ce0 diff --git a/src/world/world.cpp b/src/world/world.cpp index 91f9bc6..19f6f4a 100644 --- a/src/world/world.cpp +++ b/src/world/world.cpp @@ -142,6 +142,7 @@ void Body::Tick(double dt) { rotation += dt * AngularMomentum() / Inertia(); Cache(); for (creature::Creature *c : Creatures()) { + // TODO: this is self modifying, fix it fix it fix it c->Tick(dt); } for (auto c = Creatures().begin(); c != Creatures().end();) {