Commit 947598ac authored by Frederik Schwarzer's avatar Frederik Schwarzer

Reduce scope.

parent 5fedefb5
......@@ -679,9 +679,8 @@ void GameData::randomiseFaces()
//odd numbers (n,x) and swap n, n+1 with x, x+1
int at = 0;
int to = 0;
for (int r = 0; r < 200; ++r) {
to = at;
int to = at;
while (to==at) {
to = random.getLong(144);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment