mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-20 04:50:10 +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();
|
bool b = (d >= 0) ? actual_move() : stay();
|
||||||
if(checkonly || !b) {
|
if(checkonly || !b) {
|
||||||
changes.rollback();
|
changes.rollback();
|
||||||
flipplayer = false;
|
if(!checkonly) flipplayer = false;
|
||||||
}
|
}
|
||||||
else if(changes.on) {
|
else if(changes.on) {
|
||||||
println(hlog, "error: not commited!");
|
println(hlog, "error: not commited!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user