mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
one fix
This commit is contained in:
parent
7835fbcdf8
commit
de01907cd6
@ -633,7 +633,7 @@ bool drawItemType(eItem it, cell *c, const transmatrix& V, int icol, int ticks,
|
|||||||
|
|
||||||
else if(it == itPalace) {
|
else if(it == itPalace) {
|
||||||
if(ct6 >= size(shMFloor3.b)) ct6 = 0;
|
if(ct6 >= size(shMFloor3.b)) ct6 = 0;
|
||||||
if(ct6 >= size(shMFloor3.b)) return;
|
if(ct6 >= size(shMFloor3.b)) return false;
|
||||||
transmatrix V2 = V * spin(ticks / 1500.);
|
transmatrix V2 = V * spin(ticks / 1500.);
|
||||||
queuepoly(V2, shMFloor3.b[ct6], 0xFFD500FF);
|
queuepoly(V2, shMFloor3.b[ct6], 0xFFD500FF);
|
||||||
queuepoly(V2, shMFloor4.b[ct6], darkena(icol, 0, 0xFF));
|
queuepoly(V2, shMFloor4.b[ct6], darkena(icol, 0, 0xFF));
|
||||||
|
Loading…
Reference in New Issue
Block a user