mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 23:47:00 +00:00
changes: fixed flipplayer
This commit is contained in:
parent
1beec8792a
commit
2eb3e2aef2
@ -943,7 +943,9 @@ EX bool chaos_forbidden(cell *c) {
|
|||||||
|
|
||||||
bool pcmove::perform_actual_move() {
|
bool pcmove::perform_actual_move() {
|
||||||
cell*& c2 = mi.t;
|
cell*& c2 = mi.t;
|
||||||
|
changes.at_commit([&] {
|
||||||
flipplayer = true; if(multi::players > 1) multi::flipped[multi::cpid] = true;
|
flipplayer = true; if(multi::players > 1) multi::flipped[multi::cpid] = true;
|
||||||
|
});
|
||||||
if(c2->item && isAlch(c2)) {
|
if(c2->item && isAlch(c2)) {
|
||||||
if(cwt.at->wall == waBoat)
|
if(cwt.at->wall == waBoat)
|
||||||
c2->wall = waNone;
|
c2->wall = waNone;
|
||||||
|
Loading…
Reference in New Issue
Block a user