Using binarysearch instead of for loop doesnt work
#2

Shouldn't this

Код:
if(ares > -1 && MoneyPickups[ares] == pickupid) return index=ares,ACTOR_TYPE;
checking ActorPickups[ares] == pickupid instead of MoneyPickups?
Reply


Messages In This Thread
Using binarysearch instead of for loop doesnt work - by faxxe - 16.03.2017, 13:58
Re: Using binarysearch instead of for loop doesnt work - by NaS - 16.03.2017, 14:17
Re: Using binarysearch instead of for loop doesnt work - by faxxe - 16.03.2017, 14:59
Re: Using binarysearch instead of for loop doesnt work - by faxxe - 16.03.2017, 15:02
Re: Using binarysearch instead of for loop doesnt work - by Nero_3D - 16.03.2017, 16:05
Re: Using binarysearch instead of for loop doesnt work - by faxxe - 16.03.2017, 16:31
Re: Using binarysearch instead of for loop doesnt work - by Nero_3D - 16.03.2017, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)