Code: Select all
var hair := cint(race_hair_list[randomint(race_hair_list.size()) + 1]);
it seems that the randomint() is returning the same number everytime. this line of code is called everytime a character is created.
- it isn't evertyime, just everytime for the first char created
- so the second char i'll have a diferent hair, and it is the same hair everytime.
- so it seems that for each char it is returning an 'equal' number.
is that a bug? i think it is.
i've heard about somethine like seed() (an C function), and i dont know how, it modifies the base variable the random functions use to generate random numbers, is that something like that in POL?
is that really a bug?