Browse Source

Small compile issues in previous revision

Ivan Savenko 15 years ago
parent
commit
6fbcdf63eb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      client/CKingdomInterface.cpp

+ 2 - 2
client/CKingdomInterface.cpp

@@ -403,10 +403,10 @@ CKingdomInterface::CResIncomePic::CResIncomePic(int RID, CDefEssential * Mines)
 	pos.w = (resID!=7)?68:136;//gold pile is bigger
 	mines = Mines;
 
-	if ( ResID != 7)
+	if ( resID != 7)
 	{
 		MetaString ms;
-		ms << std::pair<ui8,ui32>(9,ResID);
+		ms << std::pair<ui8,ui32>(9,resID);
 		ms.toString(hoverText);
 	}
 	else