amethyst / amethyst/rustrogueliketutorial
Chapter 35: Entities not properly filtered out
未關閉
- 主要語言
- Rust
- 星號
- 970
- 分支
- 166
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi,
It looks like there is a bug in the retain closure when filtering out entities that would overlap with a room vault:
https://github.com/amethyst/rustrogueliketutorial/blob/33872fe582f226178436847e1f74eafcbf9c0d1a/chapter-35-vaults2/src/map_builders/prefab_builder/mod.rs#L385
I believe this should be:
```rust
let y = idx / width;
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。