Hi, Julien PUYDT a écrit : > Kyle a écrit : >> I needed to remove "extern Downloader downloader" from downloader.h / >> .cpp and make a new Downloader in index_server.cpp in order to make the >> game not crash. > > Eh, this looks very much like : > http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.12
That's also why some code rather use the singleton coding pattern, and all external users are required to call GetInstance method. As a matter of fact, I have never encountered such a bug, though. Best regards, Kurosu _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev