From 44af403b85015cc5c3436f8a2cefcbdb71ef1236 Mon Sep 17 00:00:00 2001 From: hasanalsamra Date: Mon, 29 Aug 2016 15:50:58 +0300 Subject: [PATCH] Selection box with alpha --- src/hud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hud.cpp b/src/hud.cpp index 19feaef7b..29d003609 100644 --- a/src/hud.cpp +++ b/src/hud.cpp @@ -536,7 +536,7 @@ void Hud::drawSelectionMesh() m_selection_mesh_color.getGreen() / 255); u32 b = (selectionbox_argb.getBlue() * m_selection_mesh_color.getBlue() / 255); - driver->draw3DBox(box, video::SColor(255, r, g, b)); + driver->draw3DBox(box, video::SColor(100, r, g, b)); } driver->setMaterial(oldmaterial); } else if (m_selection_mesh) {