changes: flipplayer should be preserved on checkonly

This commit is contained in:
Zeno Rogue
2020-03-07 04:47:11 +01:00
parent 39703c1c15
commit 3cb729f6a3
+1 -1
View File
@@ -269,7 +269,7 @@ bool pcmove::movepcto() {
bool b = (d >= 0) ? actual_move() : stay();
if(checkonly || !b) {
changes.rollback();
flipplayer = false;
if(!checkonly) flipplayer = false;
}
else if(changes.on) {
println(hlog, "error: not commited!");