mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
boats now erase rose waves when moved
This commit is contained in:
parent
2fccfdf0c5
commit
59fe423728
@ -425,6 +425,8 @@ EX void moveBoat(const movei& mi) {
|
|||||||
changes.ccell(mi.s);
|
changes.ccell(mi.s);
|
||||||
eWall x = mi.t->wall; mi.t->wall = mi.s->wall; mi.s->wall = x;
|
eWall x = mi.t->wall; mi.t->wall = mi.s->wall; mi.s->wall = x;
|
||||||
mi.t->mondir = mi.rev_dir_or(NODIR);
|
mi.t->mondir = mi.rev_dir_or(NODIR);
|
||||||
|
changes.map_value(rosemap, mi.t);
|
||||||
|
rosemap.erase(mi.t);
|
||||||
moveItem(mi.s, mi.t, false);
|
moveItem(mi.s, mi.t, false);
|
||||||
animateMovement(mi, LAYER_BOAT);
|
animateMovement(mi, LAYER_BOAT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user