summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-12 15:00:22 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-12 15:00:22 +0100
commit5667984053536d855ba0917deac326d429f2c5b4 (patch)
treee3e7066f93db9075ac6d38fd1616e2cfbdc1b352 /src
parent1fd33b69f7cef5f9dfe1da417717545f34c673d0 (diff)
Bias select_index.
Diffstat (limited to 'src')
-rw-r--r--src/render.cpp2
1 files changed, 1 insertions, 1 deletions
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: