Skip to content

Have fire check all neighbor node for interact#16

Open
asl97 wants to merge 1 commit intoBremaweb:masterfrom
asl97:patch-1
Open

Have fire check all neighbor node for interact#16
asl97 wants to merge 1 commit intoBremaweb:masterfrom
asl97:patch-1

Conversation

@asl97
Copy link

@asl97 asl97 commented May 27, 2015

how is checking just corner0 and corner1 enough to pass to the default function?

this look like it was make this way just to kill all the fire but if that is the case, then there is no need to check for all those corners, just return a true

otherwise, it should be properly done by checking all 26 (plus 1 which is the fire itself since excluding it is really just micro optimization) next to the fire to see if it is allow to interact with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant