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:
Zed A. Shaw 2025-08-03 22:34:03 -04:00
parent a4a4389281
commit 077f0e84ea
9 changed files with 1 additions and 1848 deletions

View file

@ -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;