mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
shmup:: collect items when bumping into them in a boat
This commit is contained in:
parent
5c221d72b3
commit
a95eb81b33
@ -1929,6 +1929,7 @@ void movePlayer(monster *m, int delta) {
|
||||
}
|
||||
else if(m->inBoat && !isWateryOrBoat(c2) && passable(c2, m->base, P_ISPLAYER | P_MIRROR | reflectflag)) {
|
||||
if(boatGoesThrough(c2) && markOrb(itOrbWater)) {
|
||||
collectItem(c2);
|
||||
c2->wall = isIcyLand(m->base) ? waLake : waSea;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user