quinta-feira, 16 de agosto de 2012

Big Bug Fixed

Remember when the game was closing it would crash? Not anymore!

The culprit was the json-cpp library. After spending countless hours tracking all my calls, it turned out I was using an old version of this library that would call a pure virtual function on one of its destructors, if an JSON object was used in a static manner. Well, I use static objects everywhere, because I have no need to worry to clean them up. When the stack gets smashed so do the objects declared there. Win/win!

The fix? Get their svn code, include it on my code and make the appropriate fixes (that consisted on changing the #include file names).

New build coming out soon!

Sem comentários:

Enviar um comentário