fixed mines when more than 7 adjacent mines

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:42:59 +02:00
1 parent 52305eb830
commit 8a53258361
2 files changed
+20 -10

No files matched your search

+7 -1
View File
@@ -1624,7 +1624,7 @@ hpcshape
shWave[8][2],
shCircleFloor,
shBarrel,
shWall[2], shMineMark[2], shFan,
shWall[2], shMineMark[2], shBigMineMark[2], shFan,
shZebra[5],
shSwitchDisk,
shTower[11],
@@ -2066,6 +2066,12 @@ void procedural_shapes() {
bshape(shMineMark[1], PPR::MINEMARK);
for(int t=0; t<=S7; t++) hpcpush(ddi(t*S12, floorrad1*.1) * C0);
bshape(shBigMineMark[0], PPR::MINEMARK);
for(int t=0; t<=S6; t++) hpcpush(ddi(S7 + t*S14, floorrad0*.15) * C0);
bshape(shBigMineMark[1], PPR::MINEMARK);
for(int t=0; t<=S7; t++) hpcpush(ddi(t*S12, floorrad1*.15) * C0);
for(int d=0; d<2; d++) {
bshape(shSemiBFloor[d], PPR::BFLOOR);
for(int t=0; t<=4; t++) hpcpush(ddi(S7 + (3+3*d+t%4)*S14, floorrad0*.1) * C0);