Skip to content

Adventure map, last opponent loses the game, window display sequence adjustment #7093

@LeHerosInconnu

Description

@LeHerosInconnu

Preliminary checks

Platform

Windows

Describe the bug

When a player wins the scenario because the last opponent loses the game, the window display sequence should be like this:

Player's turn window:
Win lose game 003

New week (or new month) window if applicable:
Win lose game 004

Window of last opponent losing the game:
Win lose game 005
In this case the window yellow title should be:
"Victory!"

Instead of:
"Major Event!"

Here, the blue player was indeed defeated, so it is indeed a major event, but at the same time it is also the victory of the green player.

Score screen:
Win lose game 008

Eventually, in this case, the new week (or month) window might not be displayed because the green player wins the game anyway.
What do you think about this?

In fheroes2:

2023-05-01.14-28-12.mp4

Save file

Here are the save files:
Last day 01.zip

Additional info

Related issue: #7091.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething doesn't workuiUI/GUI related stuff

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions