1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

* small changes

This commit is contained in:
mateuszb
2010-02-07 15:06:14 +00:00
parent 090cc602b6
commit 69bed4a8d6
17 changed files with 195 additions and 210 deletions

View File

@@ -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));
}