small linked list game keeps returning null and crashes

Hello..I have just started learning about linked lists and I am trying to create a small game with a few nodes. I have created 7 nodes and I am trying to create a little game where I can go from node to node until the user escapes my castle..The start of my game works good and so does the second level but after that no matter what I choose I get NULL.This is my first time creating a little program like this so any tips for fixing the issue would be greatly appreciated
Last edited on
Check lines 75 and 76.
Topic archived. No new replies allowed.