Mercurial > mm7
comparison UI/UIHouses.cpp @ 2214:20995bb8895a
GameResultsApply() full refactored
author | Ritor1 |
---|---|
date | Thu, 13 Feb 2014 23:02:32 +0600 |
parents | 385040580292 |
children | e9625ad08541 |
comparison
equal
deleted
inserted
replaced
2213:05e74b19991d | 2214:20995bb8895a |
---|---|
2017 } | 2017 } |
2018 case HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT: | 2018 case HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT: |
2019 { | 2019 { |
2020 if ( pArcomageGame->bGameInProgress == 1 ) | 2020 if ( pArcomageGame->bGameInProgress == 1 ) |
2021 return; | 2021 return; |
2022 if ( pArcomageGame->uGameResult ) | 2022 if ( pArcomageGame->uGameWinner ) |
2023 { | 2023 { |
2024 if ( pArcomageGame->uGameResult == 1 ) | 2024 if ( pArcomageGame->uGameWinner == 1 ) |
2025 pText = pGlobalTXT_LocalizationStrings[640];// You won! | 2025 pText = pGlobalTXT_LocalizationStrings[640];// You won! |
2026 else | 2026 else |
2027 pText = pGlobalTXT_LocalizationStrings[641];// You lost! | 2027 pText = pGlobalTXT_LocalizationStrings[641];// You lost! |
2028 } | 2028 } |
2029 else | 2029 else |