1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +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();
if(checkonly || !b) {
changes.rollback();
flipplayer = false;
}
else if(changes.on) {
println(hlog, "error: not commited!");