ref: shut up DecalShoot about decals must hit mod_brush

This is an annoying message that's caused by the game code. Decals, without
custom renderer, cannot be rendered on non-brush entities, and everybody knows
that anyway.
This commit is contained in:
Alibek Omarov
2026-06-14 07:22:28 +05:00
parent b2a5f0db5a
commit 1e31fbcd51
2 changed files with 2 additions and 2 deletions

View File

@@ -721,7 +721,7 @@ void R_DecalShoot( int textureIndex, int entityIndex, int modelIndex, vec3_t pos
if( model->type != mod_brush )
{
gEngfuncs.Con_Printf( S_ERROR "Decals must hit mod_brush!\n" );
gEngfuncs.Con_Reportf( S_ERROR "Decals must hit mod_brush!\n" );
return;
}

View File

@@ -743,7 +743,7 @@ void GAME_EXPORT R_DecalShoot( int textureIndex, int entityIndex, int modelIndex
if( model->type != mod_brush )
{
gEngfuncs.Con_Printf( S_ERROR "Decals must hit mod_brush!\n" );
gEngfuncs.Con_Reportf( S_ERROR "Decals must hit mod_brush!\n" );
return;
}