1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

one more fix to the Rock Snake

This commit is contained in:
Zeno Rogue 2017-10-30 10:56:22 +01:00
parent 060075f605
commit 6b9075b0f0

View File

@ -1410,7 +1410,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(c3->monst || c3->bardir != NODIR || c3->wall) break;
c2 = c3;
c2->monst = moHexSnakeTail;
i = (j + (S6==8 ? 4 : (len%2 ? 2 : 4))) % 6;
i = (j + (S6==8 ? 4 : (len%2 ? 2 : 4))) % S6;
}
if(size(rocksnake) < ROCKSNAKELENGTH/2 && !purehepta) {
for(int i=0; i<size(rocksnake); i++)