Fix for amb736 - find_entity defined twice
This commit is contained in:
parent
68961a91e2
commit
1721383237
@ -97,7 +97,8 @@ stock can_see(ent1, ent2)
|
||||
// type = 10: "noise3"
|
||||
// type = 11: "viewmodel"
|
||||
// type = 12: "weaponmodel"
|
||||
stock find_entity(ent, szValue[], type=0)
|
||||
|
||||
stock vexd_find_entity(ent, szValue[], type=0)
|
||||
{
|
||||
static _g_FindEntTypes[13][] =
|
||||
{
|
||||
@ -124,6 +125,8 @@ stock find_entity(ent, szValue[], type=0)
|
||||
return engfunc(EngFunc_FindEntityByString, ent, _g_FindEntTypes[type], szValue);
|
||||
}
|
||||
|
||||
#define find_entity vexd_find_entity
|
||||
|
||||
//From AMX Mod:
|
||||
// Find an entity within a given origin and radius
|
||||
stock find_entity_sphere(ent, Float:Orig[3], Float:Rad)
|
||||
|
Loading…
Reference in New Issue
Block a user