]> git.localhorst.tv Git - blank.git/blobdiff - src/world/world.cpp
store players in world save
[blank.git] / src / world / world.cpp
index e659322aa333c753fd953a718fc0c18b7eace276..f648baad45c082da5139066bf7fed8f68e6a1334 100644 (file)
@@ -167,7 +167,6 @@ Player *World::AddPlayer(const std::string &name) {
        }
        Entity &entity = AddEntity();
        entity.Name(name);
-       // TODO: load from save file here
        entity.Bounds({ { -0.5f, -0.5f, -0.5f }, { 0.5f, 0.5f, 0.5f } });
        entity.WorldCollidable(true);
        entity.Position(config.spawn);
@@ -187,7 +186,6 @@ Player *World::AddPlayer(const std::string &name, std::uint32_t id) {
                return nullptr;
        }
        entity->Name(name);
-       // TODO: load from save file here
        entity->Bounds({ { -0.5f, -0.5f, -0.5f }, { 0.5f, 0.5f, 0.5f } });
        entity->WorldCollidable(true);
        entity->Position(config.spawn);