mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
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:
@@ -721,7 +721,7 @@ void R_DecalShoot( int textureIndex, int entityIndex, int modelIndex, vec3_t pos
|
|||||||
|
|
||||||
if( model->type != mod_brush )
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -743,7 +743,7 @@ void GAME_EXPORT R_DecalShoot( int textureIndex, int entityIndex, int modelIndex
|
|||||||
|
|
||||||
if( model->type != mod_brush )
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user