From 1e31fbcd513bdabd557a098fcdd06fa2037cd99e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 14 Jun 2026 07:22:28 +0500 Subject: [PATCH] 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. --- ref/gl/gl_decals.c | 2 +- ref/soft/r_decals.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ref/gl/gl_decals.c b/ref/gl/gl_decals.c index 78d1c9e1..928b8bd8 100644 --- a/ref/gl/gl_decals.c +++ b/ref/gl/gl_decals.c @@ -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; } diff --git a/ref/soft/r_decals.c b/ref/soft/r_decals.c index 797170b4..f222946e 100644 --- a/ref/soft/r_decals.c +++ b/ref/soft/r_decals.c @@ -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; }