From 5667984053536d855ba0917deac326d429f2c5b4 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 12 Dec 2017 15:00:22 +0100 Subject: Bias select_index. --- src/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render.cpp b/src/render.cpp index 0952343..ba50d00 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -323,7 +323,7 @@ void oriented_sprite_4M_t::load(std::string prefix, size_t xc, size_t yc, size_t size_t oriented_sprite_4M2_t::select_index(float angle, bool *mirror) { - angle = normalize_angle(angle); + angle = normalize_angle(angle + 0.01f); if (angle < 0.25f * M_PI) { select_x: -- cgit