Fix the calculate feature in the test scenario.

The new dialogs can't show an input so when there's a request for input
the old dialog needs to be shown.
This commit is contained in:
Mark de Wever 2009-01-01 18:35:24 +00:00
parent 4af0181638
commit 420ba98ceb
2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@ Version 1.5.7+svn:
with a SLF
* Miscellaneous and bug fixes:
* Added the sunset feature to the new dialogs.
* Fix the calculate feature in the test scenario.
Version 1.5.7:
* Campaigns:

View file

@ -2877,7 +2877,7 @@ namespace {
if (side_for_show && !get_replay_source().is_skipping())
{
// We whether we can show the new dialog.
if(options.empty() && speaker != units->end()) {
if(options.empty() && !has_text_input && speaker != units->end()) {
// Get the portrait and if found proceed to use the new dialog.
const tportrait* portrait =