mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-18 14:45:12 +00:00
rogueviz:: nilrider:: fixed one more possible crash
This commit is contained in:
@@ -234,7 +234,7 @@ void run() {
|
||||
emptyscreen();
|
||||
clearMessages();
|
||||
dialog::init();
|
||||
if(view_replay && !paused) {
|
||||
if(view_replay && !paused && !isize(curlev->history)) {
|
||||
int ttick = gmod(ticks - simulation_start_tick, isize(curlev->history));
|
||||
curlev->current = curlev->history[ttick];
|
||||
curlev->current.centerview(curlev);
|
||||
|
||||
Reference in New Issue
Block a user