1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

no more hiding the boat under the player

This commit is contained in:
Zeno Rogue 2019-05-10 01:51:50 +02:00
parent 9dae2f4438
commit f491e3ce99

View File

@ -4108,7 +4108,7 @@ int get_darkval(int d) {
void drawBoat(cell *c, const transmatrix*& Vboat, transmatrix& Vboat0, transmatrix& V) {
double footphase;
if(c == cwt.at && hide_player()) return;
if(WDIM == 3 && c == cwt.at && hide_player()) return;
bool magical = items[itOrbWater] && (isPlayerOn(c) || (isFriendly(c) && items[itOrbEmpathy]));
int outcol = magical ? watercolor(0) : 0xC06000FF;
int incol = magical ? 0x0060C0FF : 0x804000FF;