Don't add wiggle to the things in the player's square since that moves them into the player eyes.
This commit is contained in:
parent
a4a4389281
commit
077f0e84ea
9 changed files with 1 additions and 1848 deletions
|
@ -101,7 +101,7 @@ inline void update_sorted(SortedEntities& sprite_distance, PointEntityMap& table
|
|||
int inside = (from.x - sprite.x) * (from.x - sprite.x) +
|
||||
(from.y - sprite.y) * (from.y - sprite.y);
|
||||
|
||||
if(sprite == seen) {
|
||||
if(sprite == seen && from != sprite) {
|
||||
wiggle += 0.02f;
|
||||
} else {
|
||||
wiggle = 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue