Skip to content

Fix zero movement skip - #936

Merged
Dreeam-qwq merged 2 commits into
Winds-Studio:ver/26.2from
wling-art:fix/skip-zero-move
Sep 24, 2026
Merged

Dreeam-qwq merged 2 commits into
Winds-Studio:ver/26.2from
wling-art:fix/skip-zero-move

Conversation

@wling-art

Copy link
Copy Markdown
Member

3e795f0 调整这段代码时漏掉了 return,导致每次仍然走完整个 move(),多做了几次比较,导致额外开销

改动同步 Gale 当前的写法:

  • 加回 return
  • 检查放到 Paper 的各项提前返回之后
  • 零判断改为分别比较 x/y/z
  • 同时重置 minorHorizontalCollision
  • setBoundingBox 已经标记过变化时,不再重复比较

与 Gale 完全一样的行为

@Dreeam-qwq Dreeam-qwq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 Dreeam 怎么回事,坏事做尽

@Dreeam-qwq Dreeam-qwq added type: fix Pull request for fixing bug type: general Pull request for general updates / changes, patch regular maintenance labels Sep 24, 2026
@Dreeam-qwq
Dreeam-qwq merged commit a732bba into Winds-Studio:ver/26.2 Sep 24, 2026
2 checks passed
@wling-art
wling-art deleted the fix/skip-zero-move branch September 24, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Pull request for fixing bug type: general Pull request for general updates / changes, patch regular maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants