- while (d.newstuf[ix][iy] > 0);\r
- d.newstuf[ix][iy] = 1;\r
- d.plnets[i].x = ix;\r
- d.plnets[i].y = iy;\r
- d.plnets[i].pclass = Rand()*3.0 + 1.0; // Planet class M N or O\r
- d.plnets[i].crystals = 1.5*Rand(); // 1 in 3 chance of crystals\r
- d.plnets[i].known = 0;\r
+ while (state.newstuf[ix][iy] > 0);\r
+ state.newstuf[ix][iy] = 1;\r
+ state.plnets[i].x = ix;\r
+ state.plnets[i].y = iy;\r
+ state.plnets[i].pclass = Rand()*3.0 + 1.0; // Planet class M N or O\r
+ state.plnets[i].crystals = 1.5*Rand(); // 1 in 3 chance of crystals\r
+ state.plnets[i].known = 0;\r