wa
This commit is contained in:
1 parent
30e9149e29
commit
03f92a4dd7
1 file changed
+2
-2
@@ -683,7 +683,7 @@ int LevelRenderer::render(shared_ptr<Mob> player, int layer, double alpha, bool
|
||||
allChanged();
|
||||
}
|
||||
|
||||
if (layer == 0)
|
||||
if (layer == 1)
|
||||
{
|
||||
totalChunks = 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);
|
||||
|
||||
int count = renderChunks(0, (int)chunks[playerIndex].length, 0, alpha);
|
||||
int count = renderChunks(0, (int)chunks[playerIndex].length, layer, alpha);
|
||||
|
||||
return count;
|
||||
|
||||
|
||||
Reference in new issue
Block a user