mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
wa
This commit is contained in:
parent
30e9149e29
commit
03f92a4dd7
|
|
@ -683,7 +683,7 @@ int LevelRenderer::render(shared_ptr<Mob> player, int layer, double alpha, bool
|
||||||
allChanged();
|
allChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (layer == 0)
|
if (layer == 1)
|
||||||
{
|
{
|
||||||
totalChunks = 0;
|
totalChunks = 0;
|
||||||
offscreenChunks = 0;
|
offscreenChunks = 0;
|
||||||
|
|
@ -713,7 +713,7 @@ int LevelRenderer::render(shared_ptr<Mob> player, int layer, double alpha, bool
|
||||||
glColor4f(1, 1, 1, 1);
|
glColor4f(1, 1, 1, 1);
|
||||||
glColor4f(1, 1, 1, 1);
|
glColor4f(1, 1, 1, 1);
|
||||||
|
|
||||||
int count = renderChunks(0, (int)chunks[playerIndex].length, 0, alpha);
|
int count = renderChunks(0, (int)chunks[playerIndex].length, layer, alpha);
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue