mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Remove code related to duel mode (#312)
Remove code related to duel mode
This commit is contained in:
@ -493,12 +493,6 @@ void CBattleResultWindow::show(SDL_Surface * to)
|
||||
|
||||
void CBattleResultWindow::bExitf()
|
||||
{
|
||||
if(LOCPLINT->cb->getStartInfo()->mode == StartInfo::DUEL)
|
||||
{
|
||||
CGuiHandler::pushSDLEvent(SDL_QUIT);
|
||||
return;
|
||||
}
|
||||
|
||||
CPlayerInterface &intTmp = owner; //copy reference because "this" will be destructed soon
|
||||
GH.popIntTotally(this);
|
||||
if(dynamic_cast<CBattleInterface*>(GH.topInt()))
|
||||
|
Reference in New Issue
Block a user