GS-Entbase: Fix missing return on SendFlags in func_wall and func_illusionary

This commit is contained in:
Marco Cawthorne 2021-04-10 23:06:59 +02:00
parent 25f657532c
commit 929a8f8630
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ float
func_illusionary::SendEntity(entity pvsent, float fl) func_illusionary::SendEntity(entity pvsent, float fl)
{ {
if (targetname) if (targetname)
CBaseTrigger::SendEntity(pvsent, fl); return CBaseTrigger::SendEntity(pvsent, fl);
else else
return FALSE; return FALSE;
} }

View file

@ -51,7 +51,7 @@ float
func_wall::SendEntity(entity pvsent, float fl) func_wall::SendEntity(entity pvsent, float fl)
{ {
if (targetname) if (targetname)
CBaseTrigger::SendEntity(pvsent, fl); return CBaseTrigger::SendEntity(pvsent, fl);
else else
return FALSE; return FALSE;
} }