Skip to content

Commit

Permalink
Only hide left/right buttons for empty vector
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios authored and CelticMinstrel committed Feb 4, 2023
1 parent 1bc7524 commit c691b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/boe.dlgutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ class cChooseScenario {

put_scen_info();

if(scen_headers.size() <= 3) {
if(scen_headers.empty()) {
me["next"].hide();
me["prev"].hide();
}
Expand Down

0 comments on commit c691b90

Please sign in to comment.