Compile Bug in latest (2-april, 10:30 PM EST) HEAD
by Ken Finney · in Torque Game Engine · 04/02/2002 (7:48 pm) · 1 replies
C:\Torque_April_2_Head\torque\engine\interior\interiorInstance.cc(593) : error C2593: 'operator &&' is ambiguous
the offending line:
I changed to this and it compiled:
(I know, parens not necessary, but it reads easier that way...)
the offending line:
593: if(mInteriorRes && mLMHandle != 0xFFFFFFFF)
I changed to this and it compiled:
593: if((mInteriorRes != NULL) && (mLMHandle != 0xFFFFFFFF))
(I know, parens not necessary, but it reads easier that way...)
About the author
Torque Owner Lathieeshe Thillainathan
if ( mResource && SFX )
mBuffer = SFX->_createBuffer( this );
i changed to
if ( (mResource != NULL) && (SFX!= NULL) )
mBuffer = SFX->_createBuffer( this );
this fixed the issue. just wondering if that's the correct method.