1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-17 11:30:09 +00:00

changes: flipplayer should be preserved on checkonly

This commit is contained in:
Zeno Rogue 2020-03-02 18:03:54 +01:00
parent 39703c1c15
commit 3cb729f6a3

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!");