fixed find_entity should return value warning
This commit is contained in:
parent
1e78c58aa9
commit
47a2ecaa81
|
@ -98,8 +98,8 @@ stock find_entity(start_from_ent, category, value[]) {
|
||||||
switch (category) {
|
switch (category) {
|
||||||
case target: return find_entity_by_target(start_from_ent, value)
|
case target: return find_entity_by_target(start_from_ent, value)
|
||||||
case targetname: return find_ent_by_tname(start_from_ent, value)
|
case targetname: return find_ent_by_tname(start_from_ent, value)
|
||||||
default: return find_entity_by_class(start_from_ent, value)
|
|
||||||
}
|
}
|
||||||
|
return find_entity_by_class(start_from_ent, value)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // _xtrafun_included
|
#endif // _xtrafun_included
|
Loading…
Reference in New Issue
Block a user