diff options
Diffstat (limited to 'draw')
| -rw-r--r-- | draw/anim.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/draw/anim.cpp b/draw/anim.cpp index aa5ee1f6..d2f644a9 100644 --- a/draw/anim.cpp +++ b/draw/anim.cpp @@ -28,18 +28,7 @@ void anim_mesh::draw(tile_shader& shader, chunk& c) { const local_coords pos{i}; if (auto [atlas, s] = c[pos].scenery(); atlas) - { draw(shader, *atlas, s.r, s.frame, pos); -#if 1 - // todo debugging - static std::size_t N = 0; - N++; - auto nframes = atlas->info().nframes; - if (N > nframes*3) - N = 0; - s.frame = (scenery::frame_t)std::min(N, nframes-1); -#endif - } } } |
