From d33fc20c6b7221e2bd4986cedcc043e9e401a8fe Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 8 Aug 2021 19:43:58 +0200 Subject: [PATCH] movei constructor now calls cmove, not move --- locations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locations.cpp b/locations.cpp index 8b454482..9e102f27 100644 --- a/locations.cpp +++ b/locations.cpp @@ -486,7 +486,7 @@ struct movei { movei(cell *_s, int _d) : s(_s), d(_d) { if(d == STRONGWIND) t = whirlwind::jumpDestination(s); else if(d < 0 || d >= s->type) t = s; - else t = s->move(d); + else t = s->cmove(d); } movei(cell *_s, cell *_t, int _d) : s(_s), t(_t), d(_d) {} movei(cellwalker cw) : s(cw.at), t(cw.cpeek()), d(cw.spin) {}