mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed pushing thumpers in sol
This commit is contained in:
parent
1801fbd048
commit
c61b556730
2
game.cpp
2
game.cpp
@ -4154,7 +4154,7 @@ cell *determinePush(cellwalker who, cell *c2, int subdir, const T& valid, int& p
|
|||||||
}
|
}
|
||||||
cellwalker push = who;
|
cellwalker push = who;
|
||||||
push += wstep;
|
push += wstep;
|
||||||
if(WDIM == 3 && binarytiling) {
|
if(WDIM == 3 && binarytiling && !sol) {
|
||||||
for(int a=0; a<4; a++) {
|
for(int a=0; a<4; a++) {
|
||||||
if(push.spin < 4) push.spin = 8;
|
if(push.spin < 4) push.spin = 8;
|
||||||
else if(push.spin >= 8) push.spin = a;
|
else if(push.spin >= 8) push.spin = a;
|
||||||
|
Loading…
Reference in New Issue
Block a user