1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 06:27:17 +00:00

boats now erase rose waves when moved

This commit is contained in:
Zeno Rogue 2024-06-06 15:26:01 +02:00
parent 2fccfdf0c5
commit 59fe423728

View File

@ -425,6 +425,8 @@ EX void moveBoat(const movei& mi) {
changes.ccell(mi.s);
eWall x = mi.t->wall; mi.t->wall = mi.s->wall; mi.s->wall = x;
mi.t->mondir = mi.rev_dir_or(NODIR);
changes.map_value(rosemap, mi.t);
rosemap.erase(mi.t);
moveItem(mi.s, mi.t, false);
animateMovement(mi, LAYER_BOAT);
}