mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-31 22:12:59 +00:00
fixed a crash when no last
This commit is contained in:
@@ -886,6 +886,7 @@ EX namespace dialog {
|
|||||||
last = &(items[i]);
|
last = &(items[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(last)
|
||||||
set_highlight(*last);
|
set_highlight(*last);
|
||||||
}
|
}
|
||||||
if(DKEY == SDLK_DOWN) {
|
if(DKEY == SDLK_DOWN) {
|
||||||
|
|||||||
Reference in New Issue
Block a user