View Single Post
rACEmic
Junior Member
Join Date: Mar 2004
Old 03-15-2004 , 23:43  
#15

I think there's an error in xtrafun.inc:

Code:
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)
	}
	return find_entity_by_class(start_from_ent, value)
}
should be:

Code:
stock find_entity(start_from_ent, category, value[]) {
	switch (category) {
		case target: return find_ent_by_target(start_from_ent, value)
		case targetname: return find_ent_by_tname(start_from_ent, value)
	}
	return find_ent_by_class(start_from_ent, value)
}
Without this change xtrafun won't compile. Am I right or did I just hack it in a way to get it to compile?
__________________
T3 HOUSTON Server Utilities:
Steam ID Finder
Warcraft 3 On-the-Fly Compilation
rACEmic is offline