From 9b968e648b77a26f3b1aa61b323b9ebc7f007bf5 Mon Sep 17 00:00:00 2001 From: ? Date: Tue, 26 Feb 2019 12:29:11 +0100 Subject: [PATCH] 3D:: hide some queuecircleat's --- graph.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graph.cpp b/graph.cpp index 200f7906..57e6976a 100644 --- a/graph.cpp +++ b/graph.cpp @@ -5423,17 +5423,17 @@ void drawMarkers() { #endif #if CAP_QUEUE - if(lmouseover && vid.drawmousecircle && ok && DEFAULTCONTROL && MOBON) { + if(lmouseover && vid.drawmousecircle && ok && DEFAULTCONTROL && MOBON && DIM == 2) { queuecircleat(lmouseover, .8, darkena(lmouseover->cpdist > 1 ? 0x00FFFF : 0xFF0000, 0, 0xFF)); } - if(global_pushto && vid.drawmousecircle && ok && DEFAULTCONTROL && MOBON) { + if(global_pushto && vid.drawmousecircle && ok && DEFAULTCONTROL && MOBON && DIM == 2) { queuecircleat(global_pushto, .6, darkena(0xFFD500, 0, 0xFF)); } #endif #if CAP_SDLJOY && CAP_QUEUE - if(joydir.d >= 0) + if(joydir.d >= 0 && DIM == 2) queuecircleat(cwt.at->modmove(joydir.d+cwt.spin), .78 - .02 * sintick(199), darkena(0x00FF00, 0, 0xFF)); #endif