amethyst / amethyst/rustrogueliketutorial

Chapter 35: Entities not properly filtered out

Abierto
#207 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
970
Forks
166
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.