1
0
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:
Zeno Rogue
2020-03-02 02:36:48 +01:00
parent 73e7d4dda9
commit 4af00c37e8

View File

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