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

fixed boats

This commit is contained in:
Zeno Rogue 2019-10-27 02:29:49 +02:00
parent ebba7a2a82
commit 9979d240d8

View File

@ -734,6 +734,7 @@ void celldrawer::draw_boat() {
nospin = c->wall == waBoat && applyAnimation(c, Vboat, footphase, LAYER_BOAT); nospin = c->wall == waBoat && applyAnimation(c, Vboat, footphase, LAYER_BOAT);
if(!nospin) Vboat = Vboat * ddspin(c, c->mondir, M_PI); if(!nospin) Vboat = Vboat * ddspin(c, c->mondir, M_PI);
queuepolyat(Vboat, cgi.shBoatOuter, outcol, PPR::BOATLEV); queuepolyat(Vboat, cgi.shBoatOuter, outcol, PPR::BOATLEV);
Vboat = V;
} }
if(c->wall == waBoat) { if(c->wall == waBoat) {
nospin = applyAnimation(c, Vboat, footphase, LAYER_BOAT); nospin = applyAnimation(c, Vboat, footphase, LAYER_BOAT);