1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-14 00:59:43 +00:00

fixed mines when more than 7 adjacent mines

This commit is contained in:
Zeno Rogue
2019-04-08 14:56:46 +02:00
parent 52305eb830
commit 8a53258361
2 changed files with 20 additions and 10 deletions

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);