gui, inventory, symmetrical shadowcasting, bugfixes
This commit is contained in:
parent
5b7eac3165
commit
986adb6fce
10 changed files with 355 additions and 71 deletions
|
|
@ -179,7 +179,7 @@ impl BaseMap for Map {
|
|||
exits.push((idx - w + 1, 1.45));
|
||||
}
|
||||
if self.is_exit_valid(x - 1, y + 1) {
|
||||
exits.push((idx - w - 1, 1.45));
|
||||
exits.push((idx + w - 1, 1.45));
|
||||
}
|
||||
if self.is_exit_valid(x + 1, y + 1) {
|
||||
exits.push((idx + w + 1, 1.45));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue