1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 19:37:40 +00:00

fixed a crash when no last

This commit is contained in:
Zeno Rogue
2023-01-04 23:24:52 +01:00
parent a55ed32fa1
commit 502e2c6102

View File

@@ -886,7 +886,8 @@ EX namespace dialog {
last = &(items[i]); last = &(items[i]);
} }
} }
set_highlight(*last); if(last)
set_highlight(*last);
} }
if(DKEY == SDLK_DOWN) { if(DKEY == SDLK_DOWN) {
uni = sym = 0; uni = sym = 0;