mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-08 08:44:30 +00:00
fixed mov[NODIR] in findWormIvy
This commit is contained in:
1 parent
87ef9a68e3
commit
52196be04e
1 file changed
+1
-1
@@ -2474,7 +2474,7 @@ void findWormIvy(cell *c) {
|
||||
bool bug = true;
|
||||
for(int i=0; i<c->type; i++) {
|
||||
cell* c2 = c->mov[i];
|
||||
if(c2 && isWorm(c2) && c2->mov[c2->mondir] == c) {
|
||||
if(c2 && isWorm(c2) && c2->mondir != NODIR && c2->mov[c2->mondir] == c) {
|
||||
settemp(c);
|
||||
c = c2;
|
||||
bug = false;
|
||||
|
||||
Reference in new issue
Block a user