diff --git a/libs/picomodel/pm_fm.c b/libs/picomodel/pm_fm.c index 32bc2ee9..d50ee038 100644 --- a/libs/picomodel/pm_fm.c +++ b/libs/picomodel/pm_fm.c @@ -425,7 +425,7 @@ static picoModel_t *_fm_load( PM_PARAMS_LOAD ){ #endif continue; } - else if ( ( p_index_LUT[triangle->index_xyz[j]].next == NULL ) ) { // Not equal to Main entry, and no LL entry + else if ( p_index_LUT[triangle->index_xyz[j]].next == NULL ) { // Not equal to Main entry, and no LL entry // Add first entry of LL from Main p_index_LUT2 = (index_LUT_t *)_pico_alloc( sizeof( index_LUT_t ) ); if ( p_index_LUT2 == NULL ) { diff --git a/radiant/camwindow.cpp b/radiant/camwindow.cpp index c4a465c0..4b64e643 100644 --- a/radiant/camwindow.cpp +++ b/radiant/camwindow.cpp @@ -127,7 +127,7 @@ rectangle_t rectangle_from_area_cam(){ void update_xor_rectangle( XORRectangle& xor_rectangle ){ rectangle_t rectangle; - if ( ( g_qeglobals.d_select_mode == sel_area ) ) { + if ( g_qeglobals.d_select_mode == sel_area ) { rectangle = rectangle_from_area_cam(); } xor_rectangle.set( rectangle );