Recursion
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
In general, no, but that code is terrible. Why not just do random(3)?
because those 3 items has different ids and their id is not 1,2,3

Код:
#define         ITEM_MEDKIT                     7
#define         ITEM_FIRSTAID                   8
#define         ITEM_BONDAGE                    9
is there any way to optimize this?
Reply


Messages In This Thread
Recursion - by ToiletDuck - 30.07.2018, 07:21
Re: Recursion - by ToiletDuck - 30.07.2018, 07:42
Re: Recursion - by ToiletDuck - 30.07.2018, 07:47
Re: Recursion - by ball - 30.07.2018, 08:09
Re: Recursion - by Calisthenics - 30.07.2018, 08:12
Re: Recursion - by ToiletDuck - 30.07.2018, 08:24

Forum Jump:


Users browsing this thread: 1 Guest(s)