1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

fixed max_cells computation

This commit is contained in:
Zeno Rogue 2020-10-26 19:37:34 +01:00
parent 9c376539c4
commit 49650ee691

View File

@ -1026,7 +1026,7 @@ void draw_screen(int xstart, bool show_next) {
dynamicval<display_data> ccd(*current_display);
current_display->xmax = xstart * 1. / vid.xres;
ray::max_cells = isize(level) * (camera_level+2);
ray::max_cells = (isize(level) + isize(out_level)) * (camera_level+2);
if(explore) {
gamescreen(0);