comparison GUIWindow.cpp @ 1313:ae6c8e1ddef4

fix enter house error
author Gloval
date Wed, 26 Jun 2013 21:33:42 +0400
parents ae435824ac4d
children 28f87f5234a1
comparison
equal deleted inserted replaced
1312:ae435824ac4d 1313:ae6c8e1ddef4
1793 v29 = (char*)pGlobalTXT_LocalizationStrings[LOCSTR_ENTER_S]; 1793 v29 = (char*)pGlobalTXT_LocalizationStrings[LOCSTR_ENTER_S];
1794 } 1794 }
1795 else 1795 else
1796 { 1796 {
1797 if ( v26 || !dword_591080 ) 1797 if ( v26 || !dword_591080 )
1798 v27 = HouseNPCData[v26 +1 - (dword_591080 != 0)]->pName; 1798 v27 = HouseNPCData[v26 +1 - ((dword_591080 != 0)? 1:0)]->pName;
1799 else 1799 else
1800 v27 = (char*)p2DEvents[pButton - 1].pProprieterName; 1800 v27 = (char*)p2DEvents[pButton - 1].pProprieterName;
1801 v30 = v27; 1801 v30 = v27;
1802 v29 = (char*)pGlobalTXT_LocalizationStrings[435]; 1802 v29 = (char*)pGlobalTXT_LocalizationStrings[435];
1803 } 1803 }