fixed find_entity should return value warning
This commit is contained in:
1 parent
1e78c58aa9
commit
47a2ecaa81
1 file changed
+1
-1
@@ -98,8 +98,8 @@ stock find_entity(start_from_ent, category, value[]) {
|
||||
switch (category) {
|
||||
case target: return find_entity_by_target(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
|
||||
Reference in new issue
Block a user