diff options
author | Paul Gilbert | 2018-04-20 20:51:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-20 20:51:10 -0400 |
commit | 4d3a7a78f52867204b4eb104849717266de4ebc0 (patch) | |
tree | 96284909cb4025c9b7c51272f5414fd57732bdeb | |
parent | fb5c464572999472df0f6787fd5a1e96c130969e (diff) | |
download | scummvm-rg350-4d3a7a78f52867204b4eb104849717266de4ebc0.tar.gz scummvm-rg350-4d3a7a78f52867204b4eb104849717266de4ebc0.tar.bz2 scummvm-rg350-4d3a7a78f52867204b4eb104849717266de4ebc0.zip |
XEEN: Fix assert for maximum number in button chooser
-rw-r--r-- | engines/xeen/dialogs/dialogs_input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs/dialogs_input.cpp b/engines/xeen/dialogs/dialogs_input.cpp index d273e57b10..b72e47e37a 100644 --- a/engines/xeen/dialogs/dialogs_input.cpp +++ b/engines/xeen/dialogs/dialogs_input.cpp @@ -216,7 +216,7 @@ int NumericInput::execute(int maxLength, int maxWidth) { /*------------------------------------------------------------------------*/ int Choose123::show(XeenEngine *vm, uint numOptions) { - assert(numOptions <= 3); + assert(numOptions <= 9); Choose123 *dlg = new Choose123(vm); int result = dlg->execute(numOptions); delete dlg; |