Archived

This topic is now archived and is closed to further replies.

Sfpiano

Wierd Problem

Recommended Posts

I have a pathfinding function where I store each step in a linked list. If I use a linked list that was created in that function, everything works out fine. However, if I use a linked list member of a class, it does everything, or appears to, twice. I put the output in a file, and the path was there twice for the class list, once with the one from the function. I though maybe it was during a copying, so I changed it to directly access the list, but that still didn''t work.

Share this post


Link to post
Share on other sites