mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Add missing EV_CanSeeNoEnts
The `canseenoents` was accidentally missing from the Entity's response list, some scripts rely on it
This commit is contained in:
parent
cd65424b00
commit
f91d0c1693
1 changed files with 4 additions and 0 deletions
|
@ -1217,6 +1217,8 @@ Event EV_CanSee
|
|||
"returns 1 if the entities can see eachother, 0 if not",
|
||||
EV_RETURN
|
||||
);
|
||||
|
||||
// Added in 2.0
|
||||
Event EV_CanSeeNoEnts
|
||||
(
|
||||
"canseenoents",
|
||||
|
@ -1226,6 +1228,7 @@ Event EV_CanSeeNoEnts
|
|||
"returns 1 if the entities can see eachother, 0 if not; ignores any entities between them",
|
||||
EV_RETURN
|
||||
);
|
||||
|
||||
Event EV_Entity_InPVS
|
||||
(
|
||||
"inpvs",
|
||||
|
@ -1628,6 +1631,7 @@ CLASS_DECLARATION(SimpleEntity, Entity, NULL) {
|
|||
{&EV_IsTouching, &Entity::IsTouching },
|
||||
{&EV_IsInside, &Entity::IsInside },
|
||||
{&EV_CanSee, &Entity::CanSee },
|
||||
{&EV_CanSeeNoEnts, &Entity::CanSeeNoEnts }, // Added in 2.0
|
||||
{&EV_Entity_InPVS, &Entity::EventInPVS },
|
||||
{&EV_SetShaderData, &Entity::SetShaderData },
|
||||
{&EV_GetVelocity, &Entity::GetVelocity },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue