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:
parent
39703c1c15
commit
3cb729f6a3
@ -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!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user