1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-27 04:53:35 +00:00

refactored first_cell_to_draw so that it is changed in one place

This commit is contained in:
Zeno Rogue
2019-05-11 19:42:30 +02:00
parent c1d002be6c
commit bb63fcdcda
3 changed files with 2 additions and 5 deletions

View File

@@ -2542,6 +2542,7 @@ bool drawMonster(const transmatrix& Vparam, int ct, cell *c, color_t col) {
if(!mmmon) return true;
if(hide_player()) {
first_cell_to_draw = false;
}
else if(isWorm(m)) {
@@ -6342,6 +6343,7 @@ void drawthemap() {
frameid++;
cells_drawn = 0;
noclipped = 0;
first_cell_to_draw = true;
wavephase = (-(ticks / 100)) & 7;