mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-24 18:59:26 +01:00
client: fix -Wparentheses
This commit is contained in:
parent
a238894231
commit
011f1afeb6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user