diff options
author | bob <276231002@qq.com> | 2019-09-04 15:03:22 +0800 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-26 08:47:24 +0200 |
commit | 943471dd02a94dee108e3586239d72b5baa13174 (patch) | |
tree | eb300cd9405ceb11df6e8614cc6c3ad97bd8ceb3 /scene/2d/animated_sprite.h | |
parent | 7b433107f52f822bcaac2427008d842091d37a3b (diff) |
Fix TileMap world_to_map rounding issue for negative integers
The previous code would fail for negative integer values like -3.0
(would return -4 instead of -3).
Fixes #31468.
Diffstat (limited to 'scene/2d/animated_sprite.h')
0 files changed, 0 insertions, 0 deletions