Skip to content

a WORLD_SIZE > 12 makes the game crash #33

Description

@kijetesantakalu912345

error: ArrayIndexOutOfBoundsException: <WORLD_SIZE>
it happens in:
cell.pde
line #329
in function: public void pushOut(Particle waste)
while(chosen == -1 || cells[y+dire[chosen][1]][x+dire[chosen][0]].type != 0){

(i know I'm talking like a compiler error)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions