diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-09 22:46:17 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-09 22:46:17 +0200 |
| commit | a5d5ad64ff97201e2ccf83c1d79008190906ebcd (patch) | |
| tree | ebde66821202c21d339d2164c14abc0518c8e7f2 /src/chunk-collision.cpp | |
| parent | c04906db429b7c626a753d49e2d64c51135c6039 (diff) | |
move scenery draw scratch buffers to central place
Diffstat (limited to 'src/chunk-collision.cpp')
| -rw-r--r-- | src/chunk-collision.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-collision.cpp b/src/chunk-collision.cpp index dfb0fdd6..2c612576 100644 --- a/src/chunk-collision.cpp +++ b/src/chunk-collision.cpp @@ -155,7 +155,7 @@ void chunk::_replace_bbox(const bbox& x0, const bbox& x1, bool b0, bool b1) bool chunk::can_place_entity(const entity_proto& proto, local_coords pos) { - (void)ensure_scenery_mesh({}); + (void)ensure_scenery_mesh(); const auto center = Vector2(pos)*TILE_SIZE2 + Vector2(proto.offset) + Vector2(proto.bbox_offset), min = center - Vector2(proto.bbox_size/2), max = min + Vector2(proto.bbox_size); |
