Menu-FN: Only run the drawfill() command when the engine requests an opaque loading screen.
This commit is contained in:
parent
33d7c3cc50
commit
4b35d47522
|
@ -337,7 +337,11 @@ m_drawloading(vector screensize, float opaque)
|
||||||
{
|
{
|
||||||
vector pos;
|
vector pos;
|
||||||
pos = (screensize / 2) - [32,32];
|
pos = (screensize / 2) - [32,32];
|
||||||
drawfill([0,0], screensize, [0.5,0.5,0.5], 1.0f);
|
|
||||||
|
if (opaque) {
|
||||||
|
drawfill([0,0], screensize, [0.25,0.25,0.25], 1.0f);
|
||||||
|
}
|
||||||
|
|
||||||
drawpic(pos, "gfx/loading", [64,64], [1,1,1], 1.0f);
|
drawpic(pos, "gfx/loading", [64,64], [1,1,1], 1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue