Skip to main content
GameDev.net gamedev.net
🔒 Locked

Wierd Problem

Started by Sfpiano Aug 5, 2003 at 12:47 PM 0 replies 250+ views
Original Post
Sfpiano
Sfpiano
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.
//------------------------------------------------------------------------------------------------------The great logician Bertrand Russell once claimed that he could prove anything if given that 1+1=1. So one day, some fool asked him, "Ok. Prove that you're the Pope." He thought for a while and proclaimed, "I am one. The Pope is one. Therefore, the Pope and I are one."

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.