From de01907cd67e0ad7751eda051f82b763807d19fc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 7 May 2018 21:44:57 +0200 Subject: [PATCH] one fix --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index 0f27f544..263bec96 100644 --- a/graph.cpp +++ b/graph.cpp @@ -633,7 +633,7 @@ bool drawItemType(eItem it, cell *c, const transmatrix& V, int icol, int ticks, else if(it == itPalace) { 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.); queuepoly(V2, shMFloor3.b[ct6], 0xFFD500FF); queuepoly(V2, shMFloor4.b[ct6], darkena(icol, 0, 0xFF));