diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-02 21:39:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-03 01:22:13 +0200 |
commit | c9d56d6fb1c8eca558db937b99b89535893950a0 (patch) | |
tree | 81a4cb7c34af7e78fab8cc2e5780511e8c451978 /src/chunk-scenery.cpp | |
parent | fc1a03f9a257faf78de7838954709593ab4da628 (diff) |
fix some harmless msvc stuff
Diffstat (limited to 'src/chunk-scenery.cpp')
-rw-r--r-- | src/chunk-scenery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp index 7040c634..c13d3148 100644 --- a/src/chunk-scenery.cpp +++ b/src/chunk-scenery.cpp @@ -100,7 +100,7 @@ auto chunk::make_topo_sort_data(entity& e) -> topo_sort_data const auto bb_min = tile_shader::project(Vector3(Vector2(bb_min_[0], bb_max_[1]), 0)); const auto bb_max = tile_shader::project(Vector3(Vector2(bb_max_[0], bb_min_[1]), 0)); const auto bb_len = bb_max[0] - bb_min[0]; - if (bb_len >= 1 && f.size[0] > iTILE_SIZE[0]) + if (bb_len >= 1 && f.size[0] > uiTILE_SIZE[0]) { data.slope = (bb_max[1]-bb_min[1])/bb_len; data.mode = topo_sort_data::mode_static; |