diff UI/UIHouses.cpp @ 2214:20995bb8895a

GameResultsApply() full refactored
author Ritor1
date Thu, 13 Feb 2014 23:02:32 +0600
parents 385040580292
children e9625ad08541
line wrap: on
line diff
--- a/UI/UIHouses.cpp	Thu Feb 13 17:34:47 2014 +0600
+++ b/UI/UIHouses.cpp	Thu Feb 13 23:02:32 2014 +0600
@@ -2019,9 +2019,9 @@
     {
       if ( pArcomageGame->bGameInProgress == 1 )
         return;
-      if ( pArcomageGame->uGameResult )
+      if ( pArcomageGame->uGameWinner )
       {
-        if ( pArcomageGame->uGameResult == 1 )
+        if ( pArcomageGame->uGameWinner == 1 )
           pText = pGlobalTXT_LocalizationStrings[640];// You won!
         else
           pText = pGlobalTXT_LocalizationStrings[641];// You lost!