diff options
| author | Ken D'Ambrosio <ken.dambrosio@constantcontact.com> | 2026-06-05 08:56:04 -0400 |
|---|---|---|
| committer | Ken D'Ambrosio <ken.dambrosio@constantcontact.com> | 2026-06-05 08:56:04 -0400 |
| commit | 92a31b84bf3731a40b745480b390239be03ba361 (patch) | |
| tree | 7e49d0d53971296b13cb5285c0f9d961285d5cc5 /bin/esheep | |
| parent | b5b34b4bb9429d739cdeaf88d74fb18f9632e138 (diff) | |
Fix flipped-sprite draw offset (right-facing sheep unclickable)master
The flip clip rect (-tile_w, 0, tile_w, tile_h) mapped to device x
[dest_x+tile_w, dest_x+2*tile_w] — one tile_w off to the right —
so the visual and the input hit-box didn't overlap for right-facing sheep.
Correct clip is (0, 0, tile_w, tile_h) with source offset -sx/-sy.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'bin/esheep')
0 files changed, 0 insertions, 0 deletions
