Fix missing clamps for stvef

This commit is contained in:
Pan7 2016-08-17 00:30:32 +02:00
parent 3b8916b877
commit f502093f8e

View file

@ -382,8 +382,8 @@ void Eclass_Init(){
if ( !strcmp( ValueForKey( g_qeglobals.d_project_entity, "gamemode" ), "sp" ) ) { if ( !strcmp( ValueForKey( g_qeglobals.d_project_entity, "gamemode" ), "sp" ) ) {
// SP mapping, ignore mp_*.def // SP mapping, ignore mp_*.def
char *name = (char *)pFile->data; char *name = (char *)pFile->data;
if ( name[0] == 'm' && name[1] == 'p' && name[2] == '_' if ( ( name[0] == 'm' && name[1] == 'p' && name[2] == '_' )
|| name[0] == 'h' && name[1] == 'm' && name[2] == '_' ) { || ( name[0] == 'h' && name[1] == 'm' && name[2] == '_' ) ) {
Sys_Printf( "Single Player mapping mode. Ignoring '%s'\n", name ); Sys_Printf( "Single Player mapping mode. Ignoring '%s'\n", name );
pFile = pFile->next; pFile = pFile->next;
continue; continue;