Code typo T3D 1.2 duplicated code
by Kenneth Eves · in Torque 3D Professional · 10/03/2012 (5:26 pm) · 1 replies
shapeImage.cpp
addfield is in twice. Second is probably correct since it specifies 1st person view.
addfield is in twice. Second is probably correct since it specifies 1st person view.
addField( "correctMuzzleVector", TypeBool, Offset(correctMuzzleVector, ShapeBaseImageData),
"@brief Flag to adjust the aiming vector to the eye's LOS point\n\n"
"@see ShapeBase::getMuzzleVector()" );
addField( "correctMuzzleVector", TypeBool, Offset(correctMuzzleVector, ShapeBaseImageData),
"@brief Flag to adjust the aiming vector to the eye's LOS point when in 1st person view\n\n"
"@see ShapeBase::getMuzzleVector()" );About the author
<3 TGE/A Quickly becoming a fan of T3D 1.2
Torque Owner Richard Ranft
Roostertail Games
That said, yes one of those should be deleted.