RE: [hlcoders] invalid fogcontroller memcmp?

2006-09-04 Thread Jay Stelly
This is a bug, the line should read: if ( Q_memcmp( fog, CFogController::s_pFogController-m_fog, sizeof(fog) )) Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, September 04, 2006 11:48 AM To:

RE: [hlcoders] invalid fogcontroller memcmp?

2006-09-04 Thread bloodykenny
Well I think you meant: if (Q_memcmp(fog, CFogController::s_pFogController-m_fog, sizeof(fog))) which certainly makes more sense than what was there before. However that memcmp is still never going to return 0, because you're still memcmp'ing two objects with vtable entries, due to virtual