mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-18 23:22:28 +00:00
redone hrmap::draw() function to keep DRY
This commit is contained in:
@@ -4663,7 +4663,7 @@ EX void drawthemap() {
|
||||
|
||||
profile_start(1);
|
||||
make_actual_view();
|
||||
currentmap->draw();
|
||||
currentmap->draw_all();
|
||||
drawWormSegments();
|
||||
drawBlizzards();
|
||||
drawArrowTraps();
|
||||
@@ -4949,7 +4949,7 @@ EX void gamescreen(int _darken) {
|
||||
View = subscreens::player_displays[0].view_matrix;
|
||||
centerover = subscreens::player_displays[0].precise_center;
|
||||
just_gmatrix = true;
|
||||
currentmap->draw();
|
||||
currentmap->draw_all();
|
||||
just_gmatrix = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user