mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
* small changes
This commit is contained in:
@@ -3460,9 +3460,10 @@ void CGameHandler::showGarrisonDialog( int upobj, int hid, bool removableUnits,
|
||||
|
||||
void CGameHandler::showThievesGuildWindow(int requestingObjId)
|
||||
{
|
||||
SShowThievesGuildWindow sthg;
|
||||
sthg.requestingObject = requestingObjId;
|
||||
sendAndApply(&sthg);
|
||||
OpenWindow ow;
|
||||
ow.window = OpenWindow::THIEVES_GUILD;
|
||||
ow.id1 = requestingObjId;
|
||||
sendAndApply(&ow);
|
||||
}
|
||||
|
||||
bool CGameHandler::isAllowedExchange( int id1, int id2 )
|
||||
@@ -3638,7 +3639,7 @@ void CGameHandler::checkLossVictory( ui8 player )
|
||||
setOwner((**i).id,NEUTRAL_PLAYER);
|
||||
}
|
||||
|
||||
//eliminating one player may cause victory of anoother:
|
||||
//eliminating one player may cause victory of another:
|
||||
winLoseHandle(ALL_PLAYERS & ~(1<<player));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user