2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00

client: fix -Wparentheses

This commit is contained in:
Alibek Omarov 2024-02-10 04:08:13 +03:00
parent a238894231
commit 011f1afeb6

View File

@ -111,7 +111,7 @@ float EV_HLDM_PlayTextureSound( int idx, pmtrace_t *ptr, float *vecSrc, float *v
chTextureType = 0; chTextureType = 0;
// Player // Player
if( entity >= 1 && entity <= gEngfuncs.GetMaxClients() if( ( entity >= 1 && entity <= gEngfuncs.GetMaxClients() )
|| ( ( ent = gEngfuncs.GetEntityByIndex( entity )) && ( ent->curstate.eflags & EFLAG_MONSTER ))) || ( ( ent = gEngfuncs.GetEntityByIndex( entity )) && ( ent->curstate.eflags & EFLAG_MONSTER )))
{ {
// hit body // hit body