summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/Random.cpp')
-rw-r--r--nGenEx/Random.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/Random.cpp b/nGenEx/Random.cpp
index 646b385..ccca097 100644
--- a/nGenEx/Random.cpp
+++ b/nGenEx/Random.cpp
@@ -125,7 +125,7 @@ int RandomShuffle(int count)
tmp[i] = i;
// shuffle the cards
- for (i = 0; i < set_size; i++) {
+ for (int i = 0; i < set_size; i++) {
int n = (int) Random(0, set_size);
int tries = set_size;
while (tmp[n] < 0 && tries--) {