changeset 1247:fd532497ffab

m
author Gloval
date Tue, 11 Jun 2013 10:57:29 +0400
parents 975480e1ce38
children fa6b8e839355 93911045d8f1
files Arcomage.cpp
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Arcomage.cpp	Tue Jun 11 10:45:19 2013 +0400
+++ b/Arcomage.cpp	Tue Jun 11 10:57:29 2013 +0400
@@ -2653,7 +2653,7 @@
  v3 = 100;
 
     
-    if ( am_Players[1].wall_height <= 0 )
+    if ( am_Players[1].wall_height > 0 )
         {
  
 pSrcXYZW.top = 0;
@@ -3264,7 +3264,7 @@
 //----- (0040BE0E) --------------------------------------------------------
 bool PlayCard( int player_num, signed int card_slot_num )
     {
-  bool result; // eax@0
+
   int v3; // ebp@1
   int v4; // ecx@2
   ArcomagePlayer *v5; // esi@2
@@ -3294,8 +3294,7 @@
     }
   }
 
-  result = CanCardBePlayed(player_num, v6);
-  if ( result )
+  if (CanCardBePlayed(player_num, v6) )
   {
     ArcomageGame::PlaySound(23);
     v9 = GetPlayerHandCardCount(current_player_num);