From f502093f8e02eb3603a4d8835f0085e1e25e10ee Mon Sep 17 00:00:00 2001 From: Pan7 Date: Wed, 17 Aug 2016 00:30:32 +0200 Subject: [PATCH] Fix missing clamps for stvef --- radiant/eclass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radiant/eclass.cpp b/radiant/eclass.cpp index 4b2e1fbc..cc92448a 100644 --- a/radiant/eclass.cpp +++ b/radiant/eclass.cpp @@ -382,8 +382,8 @@ void Eclass_Init(){ if ( !strcmp( ValueForKey( g_qeglobals.d_project_entity, "gamemode" ), "sp" ) ) { // SP mapping, ignore mp_*.def char *name = (char *)pFile->data; - if ( name[0] == 'm' && name[1] == 'p' && name[2] == '_' - || name[0] == 'h' && name[1] == 'm' && name[2] == '_' ) { + if ( ( name[0] == 'm' && name[1] == 'p' && name[2] == '_' ) + || ( name[0] == 'h' && name[1] == 'm' && name[2] == '_' ) ) { Sys_Printf( "Single Player mapping mode. Ignoring '%s'\n", name ); pFile = pFile->next; continue;