|
|
|
@ -1303,7 +1303,7 @@ void pfnSetModel( edict_t *e, const char *m )
@@ -1303,7 +1303,7 @@ void pfnSetModel( edict_t *e, const char *m )
|
|
|
|
|
|
|
|
|
|
if( i == MAX_MODELS ) |
|
|
|
|
{ |
|
|
|
|
Con_Printf( S_ERROR "no precache: %s\n", name ); |
|
|
|
|
Con_Printf( S_ERROR "Failed to set model %s: was not precached\n", name ); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1311,7 +1311,7 @@ void pfnSetModel( edict_t *e, const char *m )
@@ -1311,7 +1311,7 @@ void pfnSetModel( edict_t *e, const char *m )
|
|
|
|
|
if( e == svgame.edicts ) |
|
|
|
|
{ |
|
|
|
|
if( sv.state == ss_active ) |
|
|
|
|
Con_Printf( S_ERROR "world model can't be changed\n" ); |
|
|
|
|
Con_Printf( S_ERROR "Failed to set model %s: world model cannot be changed\n", name ); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1358,8 +1358,8 @@ int pfnModelIndex( const char *m )
@@ -1358,8 +1358,8 @@ int pfnModelIndex( const char *m )
|
|
|
|
|
return i; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Con_Printf( S_ERROR "no precache: %s\n", name ); |
|
|
|
|
return 0; |
|
|
|
|
Con_Printf( S_ERROR "Cannot get index for model %s: not precached\n", name ); |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
@ -4410,7 +4410,7 @@ void pfnForceUnmodified( FORCE_TYPE type, float *mins, float *maxs, const char *
@@ -4410,7 +4410,7 @@ void pfnForceUnmodified( FORCE_TYPE type, float *mins, float *maxs, const char *
|
|
|
|
|
if( !Q_strcmp( filename, pc->filename )) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
Con_Printf( S_ERROR "no precache: %s\n", filename ); |
|
|
|
|
Con_Printf( S_ERROR "Failed to enforce consistency for %s: was not precached\n", filename ); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|