mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-30 20:08:06 +00:00
rogueviz:: ads:: fixed a freeze when moving too fast -- although ads is still useless then
This commit is contained in:
@@ -364,6 +364,7 @@ void view_ads_game() {
|
||||
i++;
|
||||
auto& cd = dq.top();
|
||||
if(i > draw_per_frame && cd.d > lastd + 1e-4) break;
|
||||
if(i > draw_per_frame + draw_per_frame_equal) break;
|
||||
lastd = cd.d;
|
||||
cds[cd.c] = cd;
|
||||
draw_game_cell(cd);
|
||||
|
||||
Reference in New Issue
Block a user