Skip to content

wallY in line 261 is sometimes < 0 #2

@hurik

Description

@hurik

hi,

the wallY is sometimes becoming negative, and so i get an error in line 261 ...

added this check before the line
if (wallX >= 0 && wallX < ig.game.collisionMap.width && wallY >= 0 && wallY < ig.game.collisionMap.height) {
....
}

bye

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions