From fd0f0e0a6f4c115107501e8f04aea38909893b04 Mon Sep 17 00:00:00 2001 From: Garux Date: Tue, 19 Mar 2019 16:45:26 +0300 Subject: [PATCH] minor optimization --- radiant/brushtokens.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radiant/brushtokens.h b/radiant/brushtokens.h index 2a871521..a3422cb8 100644 --- a/radiant/brushtokens.h +++ b/radiant/brushtokens.h @@ -654,8 +654,7 @@ void exportTokens( TokenWriter& writer ) const { writer.writeToken( "{" ); writer.nextLine(); } - - if ( Brush::m_type == eBrushTypeDoom3 || Brush::m_type == eBrushTypeQuake4 ) { + else if ( Brush::m_type == eBrushTypeDoom3 || Brush::m_type == eBrushTypeQuake4 ) { writer.writeToken( "brushDef3" ); writer.nextLine(); writer.writeToken( "{" );