v3.3.5: added two more rooms for tester vault enemies to appear in
v3.3.5: fixed an exploit where quitting would cancel fury partway
This commit is contained in:
@@ -256,7 +256,18 @@ public class Random {
|
||||
public synchronized static<T> void shuffle( List<?extends T> list){
|
||||
Collections.shuffle(list, generators.peek());
|
||||
}
|
||||
|
||||
|
||||
public static void shuffle( int[] array ) {
|
||||
for (int i=0; i < array.length - 1; i++) {
|
||||
int j = Int( i, array.length );
|
||||
if (j != i) {
|
||||
int t = array[i];
|
||||
array[i] = array[j];
|
||||
array[j] = t;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static<T> void shuffle( T[] array ) {
|
||||
for (int i=0; i < array.length - 1; i++) {
|
||||
int j = Int( i, array.length );
|
||||
|
||||
Reference in New Issue
Block a user