X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2Fchunk.cpp;h=bd2d426f1005b8fc0088429117a49011ee7276c3;hb=b61d462707dd3d40a32a6104d88eb24f6a52df63;hp=14c3af5c9c9af0fdc6560a2718d3b118553db205;hpb=eba29c8ad489194cd1e3cd64b5f23424ad4384ef;p=blank.git diff --git a/src/world/chunk.cpp b/src/world/chunk.cpp index 14c3af5..bd2d426 100644 --- a/src/world/chunk.cpp +++ b/src/world/chunk.cpp @@ -435,7 +435,7 @@ BlockMesh::Buffer buf; void Chunk::Update(BlockMesh &model) noexcept { int vtx_count = 0, idx_count = 0; for (const auto &block : blocks) { - const Shape *shape = Type(block).shape; + const CollisionBounds *shape = Type(block).shape; vtx_count += shape->VertexCount(); idx_count += shape->VertexIndexCount(); }