mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
fixed the drawing of half-vines and mirror walls in spatial
This commit is contained in:
parent
2fc42cb114
commit
cdc1696929
@ -971,7 +971,7 @@ void celldrawer::draw_halfvine() {
|
||||
}
|
||||
|
||||
else if(wmspatial || GDIM == 3) {
|
||||
floorshape& shar = *((wmplain || GDIM == 3) ? (floorshape*)&cgi.shFloor : (floorshape*)&cgi.shFeatherFloor);
|
||||
floorshape& shar = *(GDIM == 3 ? (floorshape*)&cgi.shFullFloor : wmplain ? (floorshape*)&cgi.shFloor : (floorshape*)&cgi.shFeatherFloor);
|
||||
|
||||
set_floor(shar);
|
||||
|
||||
@ -2232,9 +2232,6 @@ void celldrawer::draw_wall_full() {
|
||||
else if(patterns::whichShape == '2')
|
||||
set_floor(cgi.shMFloor3);
|
||||
|
||||
else if(embedded_plane && qfi.fshape == &cgi.shFloor)
|
||||
set_floor(cgi.shFullFloor);
|
||||
|
||||
#if CAP_TEXTURE
|
||||
else if(GDIM == 2 && texture::config.apply(c, Vf, darkena(fcol, fd, 0xFF))) ;
|
||||
#endif
|
||||
@ -2271,6 +2268,8 @@ void celldrawer::draw_wall_full() {
|
||||
|
||||
else set_land_floor(Vf);
|
||||
|
||||
if(embedded_plane && qfi.fshape == &cgi.shFloor) set_floor(cgi.shFullFloor);
|
||||
|
||||
// actually draw the floor
|
||||
|
||||
if(chasmg == 2) ;
|
||||
|
Loading…
Reference in New Issue
Block a user