mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-12 21:27:41 +00:00
fixed wrong facing direction after failed attack
This commit is contained in:
@@ -269,6 +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;
|
||||||
}
|
}
|
||||||
else if(changes.on) {
|
else if(changes.on) {
|
||||||
println(hlog, "error: not commited!");
|
println(hlog, "error: not commited!");
|
||||||
|
Reference in New Issue
Block a user