- removed alpha parameter from BaseStatusBar.DrawBar because this cannot be used with this function.

This commit is contained in:
Christoph Oelckers 2017-04-21 10:56:34 +02:00
parent b5f87aa86f
commit 1852079142

View file

@ -969,7 +969,7 @@ class BaseStatusBar native ui
// //
//============================================================================ //============================================================================
void DrawBar(String ongfx, String offgfx, double curval, double maxval, Vector2 position, int border, int vertical, int flags = 0, double alpha = 1.) void DrawBar(String ongfx, String offgfx, double curval, double maxval, Vector2 position, int border, int vertical, int flags = 0)
{ {
let ontex = TexMan.CheckForTexture(ongfx, TexMan.TYPE_MiscPatch); let ontex = TexMan.CheckForTexture(ongfx, TexMan.TYPE_MiscPatch);
if (!ontex.IsValid()) return; if (!ontex.IsValid()) return;