Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for
merging with the main branch.
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ void ModIconRow::Load( const RString &sMetricsGroup, PlayerNumber pn )
|
||||
|
||||
for( int i=0; i<NUM_OPTION_ICONS; i++ )
|
||||
{
|
||||
ModIcon *p = smnew ModIcon;
|
||||
ModIcon *p = new ModIcon;
|
||||
p->SetName( "ModIcon" );
|
||||
float fOffset = SCALE( i, 0, NUM_OPTION_ICONS-1, -(NUM_OPTION_ICONS-1)/2.0f, (float)(NUM_OPTION_ICONS-1)/2.0f );
|
||||
p->SetXY( fOffset*SPACING_X, fOffset*SPACING_Y );
|
||||
|
||||
Reference in New Issue
Block a user