redone hrmap::draw() function to keep DRY

This commit is contained in:
Zeno Rogue
2020-07-28 22:06:14 +02:00
parent 42446f1925
commit 67595a4ed3
15 changed files with 61 additions and 322 deletions
+2 -2
View File
@@ -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;
}