Use macro for randomization with ISO value
This commit is contained in:
@@ -35,7 +35,7 @@ void SetRandomLotteryNumber(u16 i)
|
||||
u32 var = Random();
|
||||
|
||||
while (--i != 0xFFFF)
|
||||
var = var * 1103515245 + 12345;
|
||||
var = ISO_RANDOMIZE2(var);
|
||||
|
||||
SetLotteryNumber(var);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user