Skip to content

Commit

Permalink
fix compile issues of last merge
Browse files Browse the repository at this point in the history
also prepare next release number
  • Loading branch information
EtlamGit committed Aug 20, 2019
1 parent 00cc632 commit 1997998
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chunkrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ void ChunkRenderer::renderChunk(QSharedPointer<Chunk> chunk) {
int top = depth;
if (top > chunk->highest)
top = chunk->highest;
if (flags & flgSingleLayer)
if (flags & MapView::flgSingleLayer)
top = depth;
int highest = 0;
for (int y = top; y >= 0; y--) { // top->down
// perform a one deep scan in SingleLayer mode
if ((flags & flgSingleLayer) && (y < top))
if ((flags & MapView::flgSingleLayer) && (y < top))
break;
int sec = y >> 4;
ChunkSection *section = chunk->sections[sec];
Expand Down
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ int main(int argc, char *argv[]) {
app.installTranslator(&translator);

app.setApplicationName("Minutor");
app.setApplicationVersion("2.2.0");
app.setApplicationVersion("2.3.0");
app.setOrganizationName("seancode");

Minutor minutor;
Expand Down Expand Up @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) {
minutor.setViewCavemode(true);
continue;
}
if (args[i] == "-sl" || args[i] == "--singlelayer")) {
if (args[i] == "-sl" || args[i] == "--singlelayer") {
minutor.setSingleLayer(true);
continue;
}
Expand Down

0 comments on commit 1997998

Please sign in to comment.