X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2Fchunk.cpp;h=bd2d426f1005b8fc0088429117a49011ee7276c3;hb=bc48fbd6be3283a2e1aaa9249909fab32c617692;hp=14c3af5c9c9af0fdc6560a2718d3b118553db205;hpb=3542823a1af7f5063d7cc8da84efa248eb889b8a;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(); }