mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-19 19:54:47 +00:00
fixed a crash when no last
This commit is contained in:
parent
a55ed32fa1
commit
502e2c6102
@ -886,7 +886,8 @@ EX namespace dialog {
|
||||
last = &(items[i]);
|
||||
}
|
||||
}
|
||||
set_highlight(*last);
|
||||
if(last)
|
||||
set_highlight(*last);
|
||||
}
|
||||
if(DKEY == SDLK_DOWN) {
|
||||
uni = sym = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user