[FIXED] cPlayer with NULL pointer to cClientHandle
#2
cClientHandle's destructor sets cPlayer's m_ClientHandle to NULL just before detaching itself from the player object. This might be the cause.

I'd say, remove the cPlayer::SetClientHandle altogether and set the cPlayer's clienthandle to NULL in its Destroy() method. Then you'll see if there have been any more calls to SetClientHandle().
And of course you can put asserts everywhere Smile
Reply
Thanks given by:


Messages In This Thread
RE: cPlayer with NULL pointer to cClientHandle - by xoft - 03-07-2012, 09:56 PM



Users browsing this thread: 2 Guest(s)